RhinoCommon API
new_releases
RhinoCommon documentation has a new look. The old site can still be found here.
play_arrow
Rhino
play_arrow
Rhino.ApplicationSettings
play_arrow
Rhino.Collections
play_arrow
Rhino.Commands
play_arrow
Rhino.Display
play_arrow
Rhino.DocObjects
play_arrow
Rhino.DocObjects.Custom
play_arrow
Rhino.DocObjects.SnapShots
play_arrow
Rhino.DocObjects.Tables
play_arrow
Rhino.FileIO
play_arrow
Rhino.Geometry
play_arrow
Rhino.Geometry.Collections
play_arrow
Rhino.Geometry.Intersect
play_arrow
Rhino.Geometry.MeshRefinements
play_arrow
Rhino.Geometry.Morphs
play_arrow
Rhino.Input
play_arrow
Rhino.Input.Custom
play_arrow
Rhino.NodeInCode
play_arrow
Rhino.ObjectManager
play_arrow
Rhino.PlugIns
play_arrow
Rhino.Render
play_arrow
Rhino.Render.ChangeQueue
play_arrow
Rhino.Render.ChildSlotNames
play_arrow
Rhino.Render.CustomRenderMeshes
play_arrow
Rhino.Render.DataSources
play_arrow
Rhino.Render.Fields
play_arrow
Rhino.Render.ParameterNames
play_arrow
Rhino.Render.PostEffects
play_arrow
Rhino.Render.UI
play_arrow
Rhino.Runtime
play_arrow
Rhino.Runtime.InProcess
play_arrow
Rhino.Runtime.InteropWrappers
play_arrow
Rhino.Runtime.Notifications
play_arrow
Rhino.Runtime.RhinoAccounts
play_arrow
Rhino.UI
play_arrow
Rhino.UI.Controls
play_arrow
Rhino.UI.Controls.DataSource
play_arrow
Rhino.UI.Controls.ThumbnailUI
play_arrow
Rhino.UI.Controls.Thumbnaillist
play_arrow
Rhino.UI.Gumball
play_arrow
dotnetstart
home
/
Rhino.FileIO
/
ContentHash

ContentHash class

Contains information that is useful to uniquely identify an object. This object is immutable.

This object is immutable.


Derived Classes:

Namespace: Rhino.FileIO
ContentHash: references

keyboard_arrow_down
Constructors (1)

ContentHash(ContentHash other)

 
Constructs a copy of a content hash.

keyboard_arrow_down
Properties (4)

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.

keyboard_arrow_down
Methods (5)

Clone()

 
Creates a copy of this content hash. Because content hash is immutable, this can be used as a deep copy.

CreateFromFile(String path)

 
Creates a new ContentHash, representing the content of a file.

Equals(ContentHash other)

 
Determines if another content hash has the same value.

Equals(Object obj)

 
Determines if another object is a content hash with same value.

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.

keyboard_arrow_down
Operators (2)

!=

 
Determines if two ContentHash instances are different by value.

==

 
Determines if two ContentHash instances are equal by value.

Nothing found