FtpHash Members

System.Net.FtpClient

Collapse image Expand Image Copy image CopyHover image

The FtpHash type exposes the following members.

Methods

  Name Description
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public method Verify(Stream)
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.
Public method Verify(String)
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.

Properties

  Name Description
Public property Algorithm
Gets the algorithm that was used to compute the hash
Public property IsValid
Gets a value indicating if this object represents a valid hash response from the server.
Public property Value
Gets the computed hash returned by the server

See Also