Calculates the checksum of the data in specified stream.

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

Syntax

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

Parameters

type
Type: Rebex.Net..::..FtpChecksumType
Desired checksum type.
sourceStream
Type: System.IO..::..Stream
The source data stream.

Return Value

Checksum of the data in the specified stream.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also