datalogic-ce-sync 1.0.6

There is a newer version of this package available.
See the version list below for details.
dotnet add package datalogic-ce-sync --version 1.0.6                
NuGet\Install-Package datalogic-ce-sync -Version 1.0.6                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="datalogic-ce-sync" Version="1.0.6" />                
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.6                
#r "nuget: datalogic-ce-sync, 1.0.6"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install datalogic-ce-sync as a Cake Addin
#addin nuget:?package=datalogic-ce-sync&version=1.0.6

// Install datalogic-ce-sync as a Cake Tool
#tool nuget:?package=datalogic-ce-sync&version=1.0.6                

datalogic-ce-sync

Update History

v1.0.6
  • check for both slashes when transferring files
v1.0.5
  • set HttpClient default timeout to infinite to support large file transfers (400MB+)
  • remove unused delegate
v1.0.4
  • support larger file transfers
  • fixed bug involving the FindFiles() and FindDirectories() methods
v1.0.3-alpha
  • Initial release

static class USBLAN

Methods

static bool StartProcess(string exec, string params)

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.
  • Returns: True if process successfully started, or was already running. False otherwise.

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

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.
  • Returns: IEnumerable of the query results. Entries contain info on files. Null if an error occured.

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

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.
  • Returns: IEnumerable of the query results. Entries contain info on directories. Null if an error occured.

static bool CreateDirectory(string deviceDirName)

Create a new directory on the device.

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

static bool PushFileToDevice(string localFilePath, string deviceFilePath, bool replaceExisting)

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?
  • Returns: True if file successfully copied to device, False otherwise.

static bool PullFileFromDevice(string deviceFilePath, string localFilePath, bool replaceExisting)

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?
  • Returns: True if file successfully pulled from device and written to local file, False otherwise.

static bool SetFileDateTime(string deviceFilePath, DateTime lastWriteDateTime)

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.
  • Returns: True if time on file is successfully set, False otherwise.

static bool DeleteFile(string deviceFilePath)

Delete a specified file from the device.

  • Parameters
    • string deviceFilePath: Path to file on device.
  • 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.
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.6 is compatible.  netstandard2.0 was computed.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.8 1,309 12/6/2019
1.0.7 593 10/25/2019
1.0.6 742 1/28/2019
1.0.5 718 1/25/2019
1.0.4 755 11/21/2018
1.0.3-alpha 961 4/6/2018