Calculates the checksum for the specified local file.

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

Syntax

Visual Basic
Public Shared Function CalculateLocalChecksum ( _
	type As FtpChecksumType, _
	localPath As String _
) As String
C#
public static string CalculateLocalChecksum(
	FtpChecksumType type,
	string localPath
)

Parameters

type
Type: Rebex.Net..::..FtpChecksumType
Desired checksum type.
localPath
Type: System..::..String
Path of the local file.

Return Value

Checksum of the specified local file.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also