FtpHash.Verify Method (String)
From System.Net.FtpClient
Computes the hash for the specified file 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( string file ) |
| Visual Basic |
|---|
Public Function Verify ( file As String ) As Boolean |
| Visual C++ |
|---|
public: bool Verify( String^ file ) |
Parameters
- file
- Type: System..::..String
The file to compute the hash for
Return Value
Type: BooleanTrue if the computed hash matches what's stored in this object.
See Also