FtpHash.Verify Method (Stream)

System.Net.FtpClient

Collapse image Expand Image Copy image CopyHover image
Computes the hash for the specified stream and compares it to the value in this object. CRC hashes are not supported because there is no built-in support in the .net framework and a CRC implementation exceeds the scope of this project. If you attempt to Verify() a CRC hash a NotImplemented() exception will be thrown.

Namespace: System.Net.FtpClient
Assembly: System.Net.FtpClient (in System.Net.FtpClient.dll) Version: 1.0.5064.17461

Syntax

C#
public bool Verify(
	Stream istream
)
Visual Basic
Public Function Verify ( 
	istream As Stream
) As Boolean
Visual C++
public:
bool Verify(
	Stream^ istream
)

Parameters

istream
Type: System.IO..::..Stream
The stream to compute the hash for

Return Value

Type: Boolean
True if the computed hash matches what's stored in this object.

See Also