Returns the checksum of the specified file on the server.

Namespace:  Rebex.Net
Assembly:  Rebex.Ftp (in Rebex.Ftp.dll)

Syntax

Visual Basic
Public Function GetRemoteChecksum ( _
	type As FtpChecksumType, _
	remotePath As String _
) As String
C#
public string GetRemoteChecksum(
	FtpChecksumType type,
	string remotePath
)

Parameters

type
Type: Rebex.Net..::..FtpChecksumType
Desired checksum type (server must support it).
remotePath
Type: System..::..String
Path of the remote file.

Return Value

Checksum of the specified remote file.

Remarks

To calculate checksums of local files, use one of CalculateLocalChecksum(FtpChecksumType, String) methods.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also