FtpHash.Verify Method (Stream)
From System.Net.FtpClient
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: BooleanTrue if the computed hash matches what's stored in this object.
See Also