NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Hash Class

The Hash class provides evidence about the hash value for an assembly. A hash value represents a unique value corresponding to a particular set of bytes- rather than referring to an assembly by name, version, or other designation, a hash value designates the assembly unambiguously. (Names are subject to collisions where the same name is given to completely different code; different variations of code may accidentally be marked with the same version; however, even changing a single bit will result in a very different hash value.)

Object
   Hash

[Visual Basic]
NotInheritable Public Class Hash
[C#]
public sealed class Hash
[C++]
public __gc __sealed class Hash
[JScript]
public class Hash

Remarks

Hash values are a cryptographically secure way to refer to specific assemblies in policy without use of digital signatures. A secure hash algorithm is designed so that the chance is infinitesimal of either an accidental or malicious attempt to construct a different assembly with the identical hash value.

Requirements

Namespace: System.Security.Policy

Assembly: mscorlib.dll

See Also

Hash Members | System.Security.Policy Namespace