Search Results for

    Show / Hide Table of Contents

    Class LicenseSettingsAttribute

    Summary description for LicenseSettingsAttribute.

    Inheritance
    System.Object
    System.Attribute
    LicenseSettingsAttribute
    Implements
    System.Runtime.InteropServices._Attribute
    Inherited Members
    System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type)
    System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo)
    System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Boolean)
    System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type)
    System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type, System.Boolean)
    System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type)
    System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo)
    System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type)
    System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Boolean)
    System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type)
    System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type, System.Boolean)
    System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type)
    System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type)
    System.Attribute.GetCustomAttributes(System.Reflection.Module)
    System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type, System.Boolean)
    System.Attribute.IsDefined(System.Reflection.Module, System.Type)
    System.Attribute.IsDefined(System.Reflection.Module, System.Type, System.Boolean)
    System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type)
    System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type)
    System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type, System.Boolean)
    System.Attribute.GetCustomAttributes(System.Reflection.Assembly)
    System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Boolean)
    System.Attribute.IsDefined(System.Reflection.Assembly, System.Type)
    System.Attribute.IsDefined(System.Reflection.Assembly, System.Type, System.Boolean)
    System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type)
    System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type, System.Boolean)
    System.Attribute.Equals(System.Object)
    System.Attribute.GetHashCode()
    System.Attribute.Match(System.Object)
    System.Attribute.IsDefaultAttribute()
    System.Attribute.System.Runtime.InteropServices._Attribute.GetTypeInfoCount(System.UInt32)
    System.Attribute.System.Runtime.InteropServices._Attribute.GetTypeInfo(System.UInt32, System.UInt32, System.IntPtr)
    System.Attribute.System.Runtime.InteropServices._Attribute.GetIDsOfNames(System.Guid, System.IntPtr, System.UInt32, System.UInt32, System.IntPtr)
    System.Attribute.System.Runtime.InteropServices._Attribute.Invoke(System.UInt32, System.Guid, System.UInt32, System.Int16, System.IntPtr, System.IntPtr, System.IntPtr, System.IntPtr)
    System.Attribute.TypeId
    System.Object.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: ImageVault.Core.License.Meriworks
    Assembly: ImageVault.Core.dll
    Syntax
    [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
    public sealed class LicenseSettingsAttribute : Attribute, _Attribute

    Constructors

    LicenseSettingsAttribute()

    Creates an instance of the LicenseSettingsAttribute class.

    Declaration
    public LicenseSettingsAttribute()

    LicenseSettingsAttribute(String)

    Creates a attribute that defines the license settings.

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

    The name of the product to validate the license

    LicenseSettingsAttribute(String, String)

    Creates a attribute that defines the license settings.

    Declaration
    public LicenseSettingsAttribute(string filename, string licenseName)
    Parameters
    Type Name Description
    System.String filename

    The name of the license file

    System.String licenseName

    The name of the product to validate the license

    LicenseSettingsAttribute(String, String, String)

    Creates a attribute that defines the license settings.

    Declaration
    public LicenseSettingsAttribute(string fileName, string licenseName, string publicKeyResource)
    Parameters
    Type Name Description
    System.String fileName

    The name of the license file

    System.String licenseName

    The name of the product to validate the license

    System.String publicKeyResource

    The name of the public key resource PublicKeyResource

    Fields

    DefaultFilename

    Defines the default license filename

    Declaration
    public const string DefaultFilename = "meridiumLicense.config"
    Field Value
    Type Description
    System.String

    DefaultPublicKeyResource

    Defines the default publicKeyResource name

    Declaration
    public const string DefaultPublicKeyResource = "ImageVault.Core.License.Meriworks.publicKey.xml"
    Field Value
    Type Description
    System.String

    Properties

    FileName

    The name of the license keyfile. Defaults to meridiumLicense.xml

    Declaration
    public string FileName { get; set; }
    Property Value
    Type Description
    System.String

    LicenseName

    The name of the license

    Declaration
    public string LicenseName { get; set; }
    Property Value
    Type Description
    System.String

    PublicKeyResource

    The public key resource, if starting with file:// the local file is used otherwize the resource stream is used.

    Declaration
    public string PublicKeyResource { get; set; }
    Property Value
    Type Description
    System.String
    Remarks

    Defaults to Meridium.License.publicKey.xml

    Implements

    System.Runtime.InteropServices._Attribute
    In This Article
    Back to top (c) Meriworks 2002-2022