Click or drag to resize

Hashes Class

This class contains functions to calculate hashes of strings and files. Supported algorithms are MD5, SHA1, SHA256, SHA512.
Inheritance Hierarchy
SystemObject
  TreeksLicensingLibrary2Hashes

Namespace:  TreeksLicensingLibrary2
Assembly:  TreeksLicensingLibrary2 (in TreeksLicensingLibrary2.dll) Version: 2.1.8318.42066 (2.1.0.0)
Syntax
public class Hashes

The Hashes type exposes the following members.

Constructors
  NameDescription
Public methodHashes
Initializes a new instance of the Hashes class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodStatic memberFileHash
This function returns hash of supplied file in hexadecimal format.
Public methodStatic memberFileHashBytes
This function returns hash of supplied file as byte array
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 methodiFileHash
This function returns hash of supplied file in hexadecimal format.
Public methodiFileHashBytes
This function returns hash of supplied file as byte array
Public methodiStringHash
This function returns hash of supplied string in hexadecimal format.
Public methodiStringHashBytes
This function returns hash of specfied string as byte array
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberStringHash
This function returns hash of supplied string in hexadecimal format.
Public methodStatic memberStringHashBytes
This function returns hash of specfied string as byte array
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks