System.Security.Policy.Hash
Provides evidence about the hash value for an assembly. This class cannot be inherited.
namespace System.Security.Policy
{
public sealed class Hash : EvidenceBase, ISerializable
{
public byte[] MD5 { get; }
public byte[] SHA1 { get; }
public byte[] SHA256 { get; }
public Hash(Assembly assembly);
public static Hash CreateMD5(byte[] md5);
public static Hash CreateSHA1(byte[] sha1);
public static Hash CreateSHA256(byte[] sha256);
public byte[] GenerateHash(HashAlgorithm hashAlg);
public void GetObjectData(SerializationInfo info, StreamingContext context);
}
}