ZLab.Discrete ZLab.Discrete
ZLab.Discrete ZLab.Discrete
Developed by Zeke Zhang

Search Results for

    Edit this page

    Class LicenseManager

    License manager for handling license file paths and generating request keys.

    Inheritance
    object
    LicenseManager
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: ZLab.Discrete.Licensing
    Assembly: ZLab.Discrete.dll
    Syntax
    public static class LicenseManager

    Properties

    Name Description
    IsPathValid

    Gets a value indicating whether the license path has been set and the file exists.

    Methods

    Name Description
    GetRequestKey(string?, string?)

    Generates a request key.

    ReValidateLicenseFile(string?)

    Re-validates the license file at the specified path or the previously set path if none is provided.

    ReValidateToken(string, out Exception?)

    Re-validates license.

    SetLicensePath(string)

    Sets the path to the license file.

    TryGetStatus(out LicenseInfo?, out Exception?)

    Try to get the current license status.

    WriteLicenseFile(string, string)

    Writes the provided license token to a file at the specified path.