LicenseProvider
SetLicenseKey Method (String, Boolean)
|
Sets the license key required for license loading, and specifies whether to use a development or test license.
Namespace:
Spire.Barcode.License
Assembly:
Spire.Barcode (in Spire.Barcode.dll) Version: 7.3.7.0 (7.3.7.9046)
Syntax
public static void SetLicenseKey(
string key,
bool useDevOrTestLicense
)
Public Shared Sub SetLicenseKey (
key As String,
useDevOrTestLicense As Boolean
)
public:
static void SetLicenseKey(
String^ key,
bool useDevOrTestLicense
)
static member SetLicenseKey :
key : string *
useDevOrTestLicense : bool -> unit
Parameters
-
key
-
Type:
System
String
The value of the Key attribute of the element License of you license xml file.
-
useDevOrTestLicense
-
Type:
System
Boolean
Indicates whether to apply a development or test license.
See Also