Search Results for

    Show / Hide Table of Contents

    Struct LicenseValidation

    Defines a LicenseValidation and when it expires

    Inherited Members
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    Namespace: ImageVault.Core.License.Meriworks
    Assembly: ImageVault.Core.dll
    Syntax
    public struct LicenseValidation

    Constructors

    LicenseValidation(String)

    Creates a licenseValidation for the supplied licenseName

    Declaration
    public LicenseValidation(string licenseName)
    Parameters
    Type Name Description
    System.String licenseName

    Fields

    Empty

    Defines an empty LicenseValidation

    Declaration
    public static readonly LicenseValidation Empty
    Field Value
    Type Description
    LicenseValidation

    Expires

    The time when the Validation Expires

    Declaration
    public DateTime Expires
    Field Value
    Type Description
    System.DateTime

    LicenseName

    The license name that was validated

    Declaration
    public string LicenseName
    Field Value
    Type Description
    System.String

    Methods

    Equals(Object)

    Compares the LicenseValidations according to their name

    Declaration
    public override bool Equals(object a)
    Parameters
    Type Name Description
    System.Object a
    Returns
    Type Description
    System.Boolean
    Overrides
    System.ValueType.Equals(System.Object)

    GetHashCode()

    Returns the hashcode for the instance

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.ValueType.GetHashCode()

    Operators

    Equality(LicenseValidation, LicenseValidation)

    Compares the LicenseValidations according to their name

    Declaration
    public static bool operator ==(LicenseValidation a, LicenseValidation b)
    Parameters
    Type Name Description
    LicenseValidation a
    LicenseValidation b
    Returns
    Type Description
    System.Boolean

    Inequality(LicenseValidation, LicenseValidation)

    Compares the LicenseValidations according to their name

    Declaration
    public static bool operator !=(LicenseValidation a, LicenseValidation b)
    Parameters
    Type Name Description
    LicenseValidation a
    LicenseValidation b
    Returns
    Type Description
    System.Boolean
    In This Article
    Back to top (c) Meriworks 2002-2022