datalogic-ce-sync 1.0.8

Package Description

Install-Package datalogic-ce-sync -Version 1.0.8
dotnet add package datalogic-ce-sync --version 1.0.8
<PackageReference Include="datalogic-ce-sync" Version="1.0.8" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add datalogic-ce-sync --version 1.0.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

static class USBLAN

Methods

static bool StartProcess(string exec, string params, string ip = DEFAULT_IP)

Start a process on the device.

  • Parameters
    • string exe: Path to the program to execute.
    • string parms: Parameters to send to exe. If using multiple parameters, seperate with a space.
    • string ip: IP Address of the device to connect to.
  • Returns: True if process successfully started, or was already running. False otherwise.

static IEnumerable<SimpleFileInfo> FindFiles(string directory, string mask, string ip = DEFAULT_IP)

Search a directory on the device for files whose names satisfy the mask.

  • Parameters
    • string directory: Path to the directory on device to search inside.
    • string mask: Name or pattern to search.
    • string ip: IP Address of the device to connect to.
  • Returns: IEnumerable of the query results. Entries contain info on files. Null if an error occured.

static IEnumerable<SimpleFileInfo> FindDirectories(string directory, string mask, string ip = DEFAULT_IP)

Search a directory on the device for directories whose names satisfy the mask.

  • Parameters
    • string directory: Path to the directory on device to search inside.
    • string mask: Name or pattern to search.
    • string ip: IP Address of the device to connect to.
  • Returns: IEnumerable of the query results. Entries contain info on directories. Null if an error occured.

static bool CreateDirectory(string deviceDirName, string ip = DEFAULT_IP)

Create a new directory on the device.

  • Parameters
    • string deviceDirName: The path to the new directory on the device.
    • string ip: IP Address of the device to connect to.
  • Returns: True if directory did not already exist and was successfully created. False otherwise.

static bool PushFileToDevice(string localFilePath, string deviceFilePath, bool replaceExisting, string ip = DEFAULT_IP)

Copy a file from the host machine to the device.

  • Parameters
    • string localFilePath: Source path on host.
    • string deviceFilePath: Destination path on device.
    • bool replaceExisting: Should an existing file be overwritten?
    • string ip: IP Address of the device to connect to.
  • Returns: True if file successfully copied to device, False otherwise.

static bool PullFileFromDevice(string deviceFilePath, string localFilePath, bool replaceExisting, string ip = DEFAULT_IP)

Copy a file from the device to the host machine.

  • Parameters
    • string deviceFilePath: Source path on device.
    • string localFilePath: Destination path on host.
    • bool replaceExisting: Should an existing file be overwritten?
    • string ip: IP Address of the device to connect to.
  • Returns: True if file successfully pulled from device and written to local file, False otherwise.

static bool SetFileDateTime(string deviceFilePath, DateTime lastWriteDateTime, string ip = DEFAULT_IP)

Set the last modified time of a file on the device.

  • Parameters
    • string deviceFilePath: Path to file on device.
    • DateTime lastWriteDateTime: The time the file will be set to.
    • string ip: IP Address of the device to connect to.
  • Returns: True if time on file is successfully set, False otherwise.

static bool DeleteFile(string deviceFilePath, string ip = DEFAULT_IP)

Delete a specified file from the device.

  • Parameters
    • string deviceFilePath: Path to file on device.
    • string ip: IP Address of the device to connect to.
  • Returns: True if file found, file is not Read-only, and file successfully deleted from device. False otherwise.

class SimpleFileInfo

Members

  • string Name: The name of the file.
  • string DirectoryName: The path of the directory the file is in.
  • string Extension: The file extension.
  • string fullName: The full file path.
  • DateTime LastWriteTime: The last time the file was modified.
  • long Length: Length of the file.

Constructors

SimpleFileInfo(IO.FileInfo fi)
  • FileInfo fi: Make a new object representing this object.
SimpleFileInfo(string fullName, long length, DateTime lastWriteTime)
  • string fullName: Full file path.
  • long length: Length of the file.
  • DateTime lastWriteTime: Last modified time.

static class USBLAN

Methods

static bool StartProcess(string exec, string params, string ip = DEFAULT_IP)

Start a process on the device.

  • Parameters
    • string exe: Path to the program to execute.
    • string parms: Parameters to send to exe. If using multiple parameters, seperate with a space.
    • string ip: IP Address of the device to connect to.
  • Returns: True if process successfully started, or was already running. False otherwise.

static IEnumerable<SimpleFileInfo> FindFiles(string directory, string mask, string ip = DEFAULT_IP)

Search a directory on the device for files whose names satisfy the mask.

  • Parameters
    • string directory: Path to the directory on device to search inside.
    • string mask: Name or pattern to search.
    • string ip: IP Address of the device to connect to.
  • Returns: IEnumerable of the query results. Entries contain info on files. Null if an error occured.

static IEnumerable<SimpleFileInfo> FindDirectories(string directory, string mask, string ip = DEFAULT_IP)

Search a directory on the device for directories whose names satisfy the mask.

  • Parameters
    • string directory: Path to the directory on device to search inside.
    • string mask: Name or pattern to search.
    • string ip: IP Address of the device to connect to.
  • Returns: IEnumerable of the query results. Entries contain info on directories. Null if an error occured.

static bool CreateDirectory(string deviceDirName, string ip = DEFAULT_IP)

Create a new directory on the device.

  • Parameters
    • string deviceDirName: The path to the new directory on the device.
    • string ip: IP Address of the device to connect to.
  • Returns: True if directory did not already exist and was successfully created. False otherwise.

static bool PushFileToDevice(string localFilePath, string deviceFilePath, bool replaceExisting, string ip = DEFAULT_IP)

Copy a file from the host machine to the device.

  • Parameters
    • string localFilePath: Source path on host.
    • string deviceFilePath: Destination path on device.
    • bool replaceExisting: Should an existing file be overwritten?
    • string ip: IP Address of the device to connect to.
  • Returns: True if file successfully copied to device, False otherwise.

static bool PullFileFromDevice(string deviceFilePath, string localFilePath, bool replaceExisting, string ip = DEFAULT_IP)

Copy a file from the device to the host machine.

  • Parameters
    • string deviceFilePath: Source path on device.
    • string localFilePath: Destination path on host.
    • bool replaceExisting: Should an existing file be overwritten?
    • string ip: IP Address of the device to connect to.
  • Returns: True if file successfully pulled from device and written to local file, False otherwise.

static bool SetFileDateTime(string deviceFilePath, DateTime lastWriteDateTime, string ip = DEFAULT_IP)

Set the last modified time of a file on the device.

  • Parameters
    • string deviceFilePath: Path to file on device.
    • DateTime lastWriteDateTime: The time the file will be set to.
    • string ip: IP Address of the device to connect to.
  • Returns: True if time on file is successfully set, False otherwise.

static bool DeleteFile(string deviceFilePath, string ip = DEFAULT_IP)

Delete a specified file from the device.

  • Parameters
    • string deviceFilePath: Path to file on device.
    • string ip: IP Address of the device to connect to.
  • Returns: True if file found, file is not Read-only, and file successfully deleted from device. False otherwise.

class SimpleFileInfo

Members

  • string Name: The name of the file.
  • string DirectoryName: The path of the directory the file is in.
  • string Extension: The file extension.
  • string fullName: The full file path.
  • DateTime LastWriteTime: The last time the file was modified.
  • long Length: Length of the file.

Constructors

SimpleFileInfo(IO.FileInfo fi)
  • FileInfo fi: Make a new object representing this object.
SimpleFileInfo(string fullName, long length, DateTime lastWriteTime)
  • string fullName: Full file path.
  • long length: Length of the file.
  • DateTime lastWriteTime: Last modified time.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.8 263 12/6/2019
1.0.7 161 10/25/2019
1.0.6 265 1/28/2019
1.0.5 231 1/25/2019
1.0.4 243 11/21/2018
1.0.3-alpha 387 4/6/2018