![]() |
LicenseSpring .Net SDK 7.40.0
Easily add Software Licensing to your application
|
Configuration interface. More...
Properties | |
| string | AirGapPublicKey [get, set] |
| Public key for air gap activation acquired from LicenseSpring. | |
| string | ApiKey [get, set] |
| API key acquired from LicenseSpring. | |
| string | AppName [get, set] |
| Your application name. | |
| string | AppVersion [get, set] |
| Your application version. | |
| string | CertificateChain [get] |
| Certificate chain used for verifying LicenseSpring response signatures. | |
| string | ClientId [get] |
| OAuth client id. | |
| string | ClientSecret [get] |
| OAuth client secret. | |
| bool | CollectNetworkInfo [get] |
| Whether SDK should send hostname, local IP and MAC to the platfrom. | |
| ICryptoProvider | CryptoProvider [get, set] |
| CryptoProvider of the configuration. | |
| string | CustomerAccount [get, set] |
| Customer group(account) code that is required for SSO. | |
| string | DetectedVMName [get] |
| In case VM detection enabled returns hypervisor name. | |
| ExtendedOptions | ExtendedOptions [get, set] |
| Extended options of the configuration. | |
| uint | GracePeriod [get] |
| Grace period. | |
| string | HardwareID [get] |
| Hardware ID of the device. | |
| string | HardwareKeyPin [get] |
| Returns the YubiKey PIN configured via ExtendedOptions or empty string if YubiKey is not configured. | |
| string | HardwareKeyTargetSerial [get] |
| Returns the target YubiKey serial number configured via ExtendedOptions or empty string if YubiKey is not configured. | |
| string | Hostname [get, set] |
| Hostname. | |
| bool | IsHardwareKeyEnabled [get] |
| Returns true if requests should be sent with a hardware key signature. See ExtendedOptions.IsHardwareKeyEnabled for more details. | |
| bool | IsLoggingEnabled [get] |
| Whether SDK should log licensing activity to file. | |
| bool | IsOAuth [get] |
| Returns true if OAuth constructor was used to instantiate the configuration object, false if standard api/shared key pair was used. | |
| bool | IsVM [get] |
| In case VM detection enabled returns true if app currently running in virtualized environment. | |
| bool | IsVMDetectionEnabled [get] |
| Whether detection of Virtual machines is enabled. | |
| uint | LicenseSpringAPIVersion [get] |
| LicenseSpring API version. | |
| string | LocalIp [get, set] |
| Local IP address. | |
| string | MACAddress [get, set] |
| MAC address. | |
| int | NetworkTimeout [get, set] |
| Get network operation timeout in seconds, 0 means use system defaults. | |
| string | OSVersion [get, set] |
| OS Version. | |
| string | ProductCode [get, set] |
| Product code acquired from LicenseSpring. | |
| ProxySettings | Proxy [get, set] |
| Get proxy configuration. | |
| string | SdkVersion [get] |
| LicenseSpring SDK version. | |
| string | SharedKey [get, set] |
| Shared or Management key acquired from LicenseSpring. | |
Configuration interface.
|
getset |
Public key for air gap activation acquired from LicenseSpring.
Implemented in LicenseSpring.Configuration.
|
getset |
API key acquired from LicenseSpring.
Implemented in LicenseSpring.Configuration.
|
getset |
Your application name.
Implemented in LicenseSpring.Configuration.
|
getset |
Your application version.
Implemented in LicenseSpring.Configuration.
|
get |
Certificate chain used for verifying LicenseSpring response signatures.
Implemented in LicenseSpring.Configuration.
|
get |
OAuth client id.
Implemented in LicenseSpring.Configuration.
|
get |
OAuth client secret.
Implemented in LicenseSpring.Configuration.
|
get |
Whether SDK should send hostname, local IP and MAC to the platfrom.
Implemented in LicenseSpring.Configuration.
|
getset |
CryptoProvider of the configuration.
The SDK uses it internally and you can also use it in your codebase.
Implemented in LicenseSpring.Configuration.
|
getset |
Customer group(account) code that is required for SSO.
Meaningful for user-based auth only.
Implemented in LicenseSpring.Configuration.
|
get |
In case VM detection enabled returns hypervisor name.
Implemented in LicenseSpring.Configuration.
|
getset |
Extended options of the configuration.
Attention: changing some fields of the extended options indirectly won't take effect.
For example config.ExtendedOptions.LicenseFilePath = "..." will not work.
If you need to adjust some of the options please set new ExtendedOptions explicitly.
Implemented in LicenseSpring.Configuration.
|
get |
|
get |
Hardware ID of the device.
Implemented in LicenseSpring.Configuration.
|
get |
Returns the YubiKey PIN configured via ExtendedOptions or empty string if YubiKey is not configured.
Implemented in LicenseSpring.Configuration.
|
get |
Returns the target YubiKey serial number configured via ExtendedOptions or empty string if YubiKey is not configured.
Implemented in LicenseSpring.Configuration.
|
getset |
Hostname.
Implemented in LicenseSpring.Configuration.
|
get |
Returns true if requests should be sent with a hardware key signature. See ExtendedOptions.IsHardwareKeyEnabled for more details.
Implemented in LicenseSpring.Configuration.
|
get |
Whether SDK should log licensing activity to file.
Implemented in LicenseSpring.Configuration.
|
get |
Returns true if OAuth constructor was used to instantiate the configuration object, false if standard api/shared key pair was used.
Implemented in LicenseSpring.Configuration.
|
get |
In case VM detection enabled returns true if app currently running in virtualized environment.
Implemented in LicenseSpring.Configuration.
|
get |
Whether detection of Virtual machines is enabled.
Implemented in LicenseSpring.Configuration.
|
get |
LicenseSpring API version.
Note this is the API version that SDK uses.
Implemented in LicenseSpring.Configuration.
|
getset |
Local IP address.
Implemented in LicenseSpring.Configuration.
|
getset |
MAC address.
Implemented in LicenseSpring.Configuration.
|
getset |
Get network operation timeout in seconds, 0 means use system defaults.
Implemented in LicenseSpring.Configuration.
|
getset |
OS Version.
Implemented in LicenseSpring.Configuration.
|
getset |
Product code acquired from LicenseSpring.
Implemented in LicenseSpring.Configuration.
|
getset |
Get proxy configuration.
Implemented in LicenseSpring.Configuration.
|
get |
LicenseSpring SDK version.
Implemented in LicenseSpring.Configuration.
|
getset |
Shared or Management key acquired from LicenseSpring.
Implemented in LicenseSpring.Configuration.