| FtpGetFileHash Method (String, FtpHashType, Int64, Int64) |
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.22214.1022
Syntax public byte[] GetFileHash(
string remotePath,
FtpHashType type,
long start,
long count
)
Public Function GetFileHash (
remotePath As String,
type As FtpHashType,
start As Long,
count As Long
) As Byte()
public:
array<unsigned char>^ GetFileHash(
String^ remotePath,
FtpHashType type,
long long start,
long long count
)
member GetFileHash :
remotePath : string *
type : FtpHashType *
start : int64 *
count : int64 -> byte[]
Parameters
- remotePath
- Type: SystemString
The path of the remote file. - type
- Type: Limilabs.FTP.ClientFtpHashType
Hash algorithm used. - start
- Type: SystemInt64
The offset in remote file where reading will start. - count
- Type: SystemInt64
The number of bytes to read.
Return Value
Type:
ByteChecksum of the specified remote file.
See Also