FileUtilSendFileContents Method (String, ProgressMonitor)
|
Sends the contents of a file to the device.
Namespace:
Zebra.Sdk.Device
Assembly:
SdkApi_Core (in SdkApi_Core.dll) Version: 2.13.898
Syntax void SendFileContents(
string filePath,
ProgressMonitor handler
)
Sub SendFileContents (
filePath As String,
handler As ProgressMonitor
)
void SendFileContents(
String^ filePath,
ProgressMonitor^ handler
)
Parameters
- filePath
- Type: SystemString
The full file path (e.g. "C:\\Users\\%USERNAME%\\Documents\\sample.lbl"). - handler
- Type: Zebra.Sdk.DeviceProgressMonitor
Callback to update on progress
Exceptions Exception | Condition |
---|
ConnectionException | If there is an issue communicating with the device (e.g. the connection is not
open). |
See Also