| 
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.Doc.License
 Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
 Syntax
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
See Also