Click or drag to resize

FirmwareUpdaterLinkOsUpdateFirmwareUnconditionally Method (String, FirmwareUpdateHandler)

Update firmware on the printer, using the default timeout of 10 minutes, regardless of the firmware version currently on the printer.

Namespace:  Zebra.Sdk.Printer
Assembly:  SdkApi.Core (in SdkApi.Core.dll) Version: 2.15.2634
Syntax
void UpdateFirmwareUnconditionally(
	string firmwareFilePath,
	FirmwareUpdateHandler handler
)

Parameters

firmwareFilePath
Type: SystemString
File path of firmware file.
handler
Type: Zebra.Sdk.PrinterFirmwareUpdateHandler
Callback for firmware updating status.
Exceptions
ExceptionCondition
ConnectionExceptionIf the connection can not be opened, is closed prematurely, or connection cannot be established after firmware download is complete.
ZebraPrinterLanguageUnknownExceptionIf the printer language can not be determined.
ZebraIllegalArgumentExceptionIf an invalid firmware file is specified for the printer.
DiscoveryExceptionIf an error occurs while waiting for the printer to come back online.
TimeoutExceptionIf the maximum timeout is reached prior to the printer coming back online with the new firmware.
FileNotFoundExceptionFirmware file not found.
See Also