Search Results for

    Show / Hide Table of Contents

    Class Hash

    Inheritance
    System.Object
    EvidenceBase
    Hash
    Implements
    System.Runtime.Serialization.ISerializable
    Inherited Members
    EvidenceBase.Clone()
    Namespace: System.Security.Policy
    Assembly: IronZip.dll
    Syntax
    public sealed class Hash : EvidenceBase

    Constructors

    Hash(Assembly)

    Declaration
    public Hash(Assembly assembly)
    Parameters
    Type Name Description
    System.Reflection.Assembly assembly

    Properties

    MD5

    Declaration
    public byte[] MD5 { get; }
    Property Value
    Type Description
    System.Byte[]

    SHA1

    Declaration
    public byte[] SHA1 { get; }
    Property Value
    Type Description
    System.Byte[]

    SHA256

    Declaration
    public byte[] SHA256 { get; }
    Property Value
    Type Description
    System.Byte[]

    Methods

    CreateMD5(Byte[])

    Declaration
    public static Hash CreateMD5(byte[] md5)
    Parameters
    Type Name Description
    System.Byte[] md5
    Returns
    Type Description
    Hash

    CreateSHA1(Byte[])

    Declaration
    public static Hash CreateSHA1(byte[] sha1)
    Parameters
    Type Name Description
    System.Byte[] sha1
    Returns
    Type Description
    Hash

    CreateSHA256(Byte[])

    Declaration
    public static Hash CreateSHA256(byte[] sha256)
    Parameters
    Type Name Description
    System.Byte[] sha256
    Returns
    Type Description
    Hash

    GenerateHash(HashAlgorithm)

    Declaration
    public byte[] GenerateHash(HashAlgorithm hashAlg)
    Parameters
    Type Name Description
    System.Security.Cryptography.HashAlgorithm hashAlg
    Returns
    Type Description
    System.Byte[]

    GetObjectData(SerializationInfo, StreamingContext)

    Declaration
    public void GetObjectData(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info
    System.Runtime.Serialization.StreamingContext context

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    Implements

    System.Runtime.Serialization.ISerializable

    Inherited members

    Clone()
    ☀
    ☾
    Downloads
    • Download with NuGet
    • Start for Free
    In This Article
    Back to top
    Install with NuGet
    Want to deploy IronZIP to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronZIP free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.