 | 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.ClientAssembly: Ftp (in Ftp.dll) Version: 2.0.26109.1248
Syntaxpublic 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 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
ByteChecksum of the specified remote file.
See Also