Click or drag to resize

FtpGetFileHash(String, FtpHashType, Int64, Int64) Method

Returns the checksum of the specified remote file. You can use FileHash class to compute or validate local file checksum.

Namespace: Limilabs.FTP.Client
Assembly: Ftp (in Ftp.dll) Version: 2.0.26109.1248
Syntax
public byte[] GetFileHash(
	string remotePath,
	FtpHashType type,
	long start,
	long count
)

Parameters

remotePath  String
The path of the remote file.
type  FtpHashType
Hash algorithm used.
start  Int64
The offset in remote file where reading will start.
count  Int64
The number of bytes to read.

Return Value

Byte
Checksum of the specified remote file.
See Also