FirmwareUpdaterLinkOsUpdateFirmwareUnconditionally(String, FirmwareUpdateHandler) Method
|
Update firmware on the printer, using the default timeout of 10 minutes, regardless of the firmware version
currently on the printer.
Namespace: Zebra.Sdk.PrinterAssembly: SdkApi.Core (in SdkApi.Core.dll) Version: 4.0.3435
Syntaxvoid UpdateFirmwareUnconditionally(
string firmwareFilePath,
FirmwareUpdateHandler handler
)
Sub UpdateFirmwareUnconditionally (
firmwareFilePath As String,
handler As FirmwareUpdateHandler
)
void UpdateFirmwareUnconditionally(
String^ firmwareFilePath,
FirmwareUpdateHandler^ handler
)
Parameters
- firmwareFilePath String
- File path of firmware file.
- handler FirmwareUpdateHandler
- Callback for firmware updating status.
Exceptions| Exception | Condition |
|---|
| ConnectionException | If the connection can not be opened, is closed prematurely, or connection cannot be
established after firmware download is complete. |
| ZebraPrinterLanguageUnknownException | If the printer language can not be determined. |
| ZebraIllegalArgumentException | If an invalid firmware file is specified for the printer. |
| DiscoveryException | If an error occurs while waiting for the printer to come back online. |
| TimeoutException | If the maximum timeout is reached prior to the printer coming back online with the new
firmware. |
| FileNotFoundException | Firmware file not found. |
See Also