Click or drag to resize

SHA1OpenNURBS Methods

The SHA1OpenNURBS type exposes the following members.

Methods
  NameDescription
Public methodClear
Releases all resources used by the HashAlgorithm class.
(Inherited from HashAlgorithm.)
Public methodComputeHash(Stream)
Computes the hash value for the specified Stream object.
(Inherited from HashAlgorithm.)
Public methodComputeHash(Byte)
Computes the hash value for the specified byte array.
(Inherited from HashAlgorithm.)
Public methodComputeHash(Byte, Int32, Int32)
Computes the hash value for the specified region of the specified byte array.
(Inherited from HashAlgorithm.)
Public methodDispose
Releases all resources used by the current instance of the HashAlgorithm class.
(Inherited from HashAlgorithm.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodStatic memberFileSystemPathHash
Computes the SHA1 hash of a file system path, converted to UTF8.

These file system paths have identical values of FileSystemPathHash():

/x/y/z/name.ext

\x\y\z\name.ext

/x//y//z/name.ext

/x/y/a/b/c/../../../z/name.ext

/X/Y/Z/NAME.EXT (When ignoreCase is true)

Protected methodFinalize
Instructs the runtime to reclaim unmanaged resources if the developer forgot to call Dispose().
(Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitialize
Resets this instance of the algorithm, so that it can be used again. It is not required to call this method after creation.
(Overrides HashAlgorithmInitialize.)
Public methodStatic memberStringHash
Computes the SHA1 hash of a string, converted to UTF8.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTransformBlock
Computes the hash value for the specified region of the input byte array and copies the specified region of the input byte array to the specified region of the output byte array.
(Inherited from HashAlgorithm.)
Public methodTransformFinalBlock
Computes the hash value for the specified region of the specified byte array.
(Inherited from HashAlgorithm.)
Top
See Also