edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing

ExFTPConnectionGetLocalCrc Method

Get the CRC of a local file.

Definition

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
public uint GetLocalCrc(
	string localFile,
	long offset = 0,
	int length = -1
)

Parameters

localFile  String
 
offset  Int64  (Optional)
Location in the file at which to start calculating the CRC (default is 0).
length  Int32  (Optional)
Number of bytes from the offset location to calculate the CRC for (default is -1 which means to end of file).

Return Value

UInt32

See Also