ContentHash Class |
Namespace: Rhino.FileIO
The ContentHash type exposes the following members.
Name | Description | |
---|---|---|
ContentHash |
Constructs a copy of a content hash.
|
Name | Description | |
---|---|---|
ByteCount |
Gets the length of the content, in bytes.
| |
HashTime |
Gets the hash time, rounded to seconds.
| |
Sha1ContentHash |
Gets the 20-bytes long SHA1 hash of the content.
| |
Sha1NameHash |
Gets the 20-bytes long SHA1 hash of the name.
|
Name | Description | |
---|---|---|
Clone |
Creates a copy of this content hash.
Because content hash is immutable, this can be used as a deep copy.
| |
CreateFromFile |
Creates a new ContentHash, representing the content of a file.
| |
Equals(ContentHash) |
Determines if another content hash has the same value.
| |
Equals(Object) |
Determines if another object is a content hash with same value.
(Overrides ObjectEquals(Object).) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode |
Gets an hash code for this content hash.
Two equal content hashes have equal hash code. The other way around might not be true.
(Overrides ObjectGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
Equality |
Determines if two ContentHash instances are equal by value.
| |
Inequality |
Determines if two ContentHash instances are different by value.
|