FirmwareUpdaterLinkOsUpdateFirmware Method (String, Int64, FirmwareUpdateHandler)
|
Update firmware on the printer using the specified timeout.
Namespace:
Zebra.Sdk.Printer
Assembly:
SdkApi_Core (in SdkApi_Core.dll) Version: 2.14.1869
Syntax void UpdateFirmware(
string firmwareFilePath,
long timeout,
FirmwareUpdateHandler handler
)
Sub UpdateFirmware (
firmwareFilePath As String,
timeout As Long,
handler As FirmwareUpdateHandler
)
void UpdateFirmware(
String^ firmwareFilePath,
long long timeout,
FirmwareUpdateHandler^ handler
)
Parameters
- firmwareFilePath
- Type: SystemString
File path of firmware file. - timeout
- Type: SystemInt64
Timeout in milliseconds. The minimum allowed timeout is 10 minutes (600000ms) due to the need to
reset the printer after flashing the firmware. If a timeout value less than the minimum is provided, the minimum will be
used instead. - handler
- Type: Zebra.Sdk.PrinterFirmwareUpdateHandler
Callback for firmware updating status.
Exceptions Remarks
If the firmware currently on the printer has the same version number as the firmware file, the firmware will not be sent to the printer.
See Also