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.SHA1

Computes the MD5 hash algorithm for the given assembly.

[Visual Basic]
Public ReadOnly Property SHA1 As Byte ()
[C#]
public byte[] SHA1 {get;}
[C++]
public: __property unsigned char* get_SHA1();
[JScript]
public function get SHA1() : Byte[];

Property Value

Byte array representing the hash value computed according to the SHA1 algorithm.

Remarks

The assembly specified in the constructor provides the bytes for the hash computation.

Example [C#]

[C#]

Hash hash = new Hash ( myAssembly );
Byte hashcode[] = hash.SHA1;

See Also

Hash Class | Hash Members | System.Security.Policy Namespace