Skip to main content

AgileDotNetLicense LicenseKey

Gets the license key granted to this component.

Syntax

Visual Basic

Public Overrides ReadOnly Property LicenseKey() As String
   Public Get
   End Get
End Property

C#

public override string LicenseKey { public get; }

Property Value

A license key granted to this component.

Remarks

The license key may be retrieved only if a valid license key file is available on the machine. The reader should note that in a production environment a license key file is not available and thus calling this method will result with an exception thrown.

See Also

AgileDotNetLicense Class | AgileDotNet.Licensing Namespace