The Hash type exposes the following members.

Constructors

  NameDescription
Public methodHash
Hash code. Default algortithm SHA256

Methods

  NameDescription
Public methodCompareHash
Compare the hash of given file with the one given.
Public methodCompareHashClipboard
Compare the hash of given file with the one in the clipboard. The hash in the clipboard must be in the form: FILEPATH+"::"+HASH
Public methodCompareHashClipboardEx
Compare the hash of given file with the one in the clipboard. The hash in the clipboard must be in the form: FILEPATH+"::"+HASH
Public methodComputeHash
Compute Hash of given string
Public methodComputeHashEx
Compute Hash of given string
Public methodComputeHashFile
Compute Hash of given file.
Public methodComputeHashFiles
Compute the hash of multiple files
Public methodComputeHashFileStyle
Compute Hash of given file.
Public methodComputeHashFileStyleEx
Compute Hash of given file.
Public methodComputeHashFromBytes
Computes the hash from a set of bytes and returns it as a hexadecimal string.
Public methodComputeHashFromBytesStyle
Computes the hash from a set of bytes and returns it as a hexadecimal string.
Public methodComputeHashStyle
Compute Hash of given string
Public methodComputeHashTextFile
Compute Hash of given file. The given file must be a text file.
Public methodCopyHashFile
Copy hash of a file to the system clipboard. The file will be copied in the form: FILEPATH+"::"+HASH
Public methodDispose
Set the Hash algorithm to null
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
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 methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLibraryPath
Get Library Path
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetAlgorithm
Set hashing algorithm. It's not a property following COM standards. SupportedHashAlgo
Public methodSetAlgorithmAlgo
Set hashing algorithm. It's not a property following COM standards. SupportedHashAlgo
Public methodSetAlgorithmBytes
Set hashing algorithm - keyed hash algorithm SupportedHashAlgo
Public methodSetAlgorithmInt
Set hashing algorithm. It's not a property following COM standards. The int parameter is for easy COM parameters exchange SupportedHashAlgoAvailableHash
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyAlgorithm
Get hashing algorithm. It's not a property following COM standards.
Public propertyStatic memberChunkSize
Step for in streaming file reading. Currently set to 4096

See Also