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.