Click or drag to resize

FileHash Class

Utility class for computing and validating file checksum. You can use GetFileHash(String, FtpHashType) or GetFileHash(String, FtpHashType, Int64, Int64) to obtain the hash value of the file on FTP server.
Inheritance Hierarchy
SystemObject
  Limilabs.FTP.Client.HashFileHash

Namespace:  Limilabs.FTP.Client.Hash
Assembly:  Ftp (in Ftp.dll) Version: 2.0.22214.1022
Syntax
public class FileHash

The FileHash type exposes the following members.

Constructors
  NameDescription
Public methodFileHash
Creates new instance of FileHash class.
Top
Methods
  NameDescription
Public methodCompute(Byte)
Computes hash value for specified data.
Public methodCompute(Stream)
Computes hash value for specified stream.
Public methodCompute(String)
Computes hash value for specified file.
Public methodCompute(Byte, Int32)
Computes hash value for specified data.
Public methodCompute(Stream, Int32)
Computes hash value for specified stream.
Public methodCompute(String, Int32)
Computes hash value for specified file.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsValid(Stream, Byte)
Checks if the hash for specified stream has correct value.
Public methodIsValid(Stream, String)
Checks if the hash for specified stream has correct value.
Public methodIsValid(String, Byte)
Checks if the hash for specified file has correct value.
Public methodIsValid(String, String)
Checks if the hash for specified file has correct value.
Public methodIsValid(Stream, Int32, Byte)
Checks if the hash for specified stream has correct value.
Public methodIsValid(Stream, Int32, String)
Checks if the hash for specified stream has correct value.
Public methodIsValid(String, Int32, Byte)
Checks if the hash for specified file has correct value.
Public methodIsValid(String, Int32, String)
Checks if the hash for specified file has correct value.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also