LicenseProvider Class |
Namespace: Spire.Xls.License
The LicenseProvider type exposes the following members.
Name | Description | |
---|---|---|
![]() |
LicenseProvider |
Initializes a new instance of the
LicenseProvider
class
|
Name | Description | |
---|---|---|
![]() ![]() |
ClearLicense |
Clear all cached license.
|
![]() |
Equals |
Determines whether the specified object is equal to the current object.
(Inherited from
Object
.)
|
![]() |
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from
Object
.)
|
![]() |
GetHashCode |
Serves as the default hash function.
(Inherited from
Object
.)
|
![]() |
GetType |
Gets the
Type
of the current instance.
(Inherited from
Object
.)
|
![]() ![]() |
LoadLicense |
Load the license provided by current setting to the license cache.
|
![]() |
MemberwiseClone |
Creates a shallow copy of the current
Object
.
(Inherited from
Object
.)
|
![]() ![]() |
SetAppKey |
Provides app key, which will be used for AI Calling.
|
![]() ![]() |
SetLicense(Stream) |
Provides a license by a license stream, which will be used for loading license.
|
![]() ![]() |
SetLicense(String) |
Provides a license by a license file path, which will be used for loading license.
|
![]() ![]() |
SetLicenseFileName |
Sets the license file name, which will be used for loading license.
|
![]() ![]() |
SetLicenseKey(String) |
Provides a license by a license key, which will be used for loading license.
|
![]() ![]() |
SetLicenseKey(String, Boolean) |
Sets the license key required for license loading, and specifies whether to use a development or test license.
|
![]() |
ToString |
Returns a string that represents the current object.
(Inherited from
Object
.)
|
![]() ![]() |
UnbindDevelopmentOrTestingLicenses |
Unbinds development or testing licenses of the specified type. This method iterates
through all stored licenses, identifies those marked as development or test licenses,
resets their state, and attempts to unbind them using the LicenseUtilities.UnbindLicense
method. The process stops upon successfully unbinding the first matching license.
The approach to lifting development or testing licenses does not allow frequent
invocation by the same machine code, mandating a two-hour wait period before
it can be invoked again.
|