![]() |
LicenseSpring .Net SDK 7.22.0
Easily add Software Licensing to your application
|
Configuration of the SDK More...
Public Member Functions | |
Configuration () | |
Configuration default constructor, creates invalid configuration with empty Shared and API keys | |
Configuration (string apiKey, string sharedKey, string productCode, string appName, string appVersion, ExtendedOptions extendedOptions=null) | |
Configuration constructor More... | |
Static Public Member Functions | |
static bool | IsMonoRuntime () |
Check if application is running in Mono runtime More... | |
Properties | |
string | AirGapPublicKey [get, set] |
Public key for air gap activation acquired from LicenseSpring More... | |
string | ApiKey [get, set] |
API key acquired from LicenseSpring More... | |
string | AppName [get, set] |
Your application name More... | |
string | AppVersion [get, set] |
Your application version More... | |
bool | CollectNetworkInfo [get] |
Whether SDK should send hostname, local IP and MAC to the platfrom More... | |
ICryptoProvider | CryptoProvider [get, set] |
CryptoProvider of the configuration More... | |
string | CustomerAccount [get, set] |
Customer group(account) code that is required for SSO More... | |
string | DetectedVMName [get] |
In case VM detection enabled returns hypervisor name More... | |
ExtendedOptions | ExtendedOptions [get, set] |
Extended options of the configuration More... | |
uint | GracePeriod [get] |
Grace period More... | |
string | HardwareID [get] |
Hardware ID of the device More... | |
string | Hostname [get, set] |
Hostname More... | |
bool | IsLoggingEnabled [get] |
Whether SDK should log licensing activity to file More... | |
bool | IsVM [get] |
In case VM detection enabled returns true if app currently running in virtualized environment More... | |
bool | IsVMDetectionEnabled [get] |
Whether detection of Virtual machines is enabled More... | |
uint | LicenseSpringAPIVersion [get] |
LicenseSpring API version More... | |
string | LocalIp [get, set] |
Local IP address More... | |
string | MACAddress [get, set] |
MAC address More... | |
int | NetworkTimeout [get, set] |
Get network operation timeout in seconds, 0 means use system defaults More... | |
string | OSVersion [get, set] |
OS Version More... | |
string | ProductCode [get, set] |
Product code acquired from LicenseSpring More... | |
ProxySettings | Proxy [get, set] |
Get proxy configuration More... | |
string | SdkVersion [get] |
LicenseSpring SDK version More... | |
string | SharedKey [get, set] |
Shared or Management key acquired from LicenseSpring More... | |
![]() | |
string | AirGapPublicKey [get, set] |
Public key for air gap activation acquired from LicenseSpring More... | |
string | ApiKey [get, set] |
API key acquired from LicenseSpring More... | |
string | AppName [get, set] |
Your application name More... | |
string | AppVersion [get, set] |
Your application version More... | |
bool | CollectNetworkInfo [get] |
Whether SDK should send hostname, local IP and MAC to the platfrom More... | |
ICryptoProvider | CryptoProvider [get, set] |
CryptoProvider of the configuration More... | |
string | CustomerAccount [get, set] |
Customer group(account) code that is required for SSO More... | |
string | DetectedVMName [get] |
In case VM detection enabled returns hypervisor name More... | |
ExtendedOptions | ExtendedOptions [get, set] |
Extended options of the configuration More... | |
uint | GracePeriod [get] |
Grace period More... | |
string | HardwareID [get] |
Hardware ID of the device More... | |
string | Hostname [get, set] |
Hostname More... | |
bool | IsLoggingEnabled [get] |
Whether SDK should log licensing activity to file More... | |
bool | IsVM [get] |
In case VM detection enabled returns true if app currently running in virtualized environment More... | |
bool | IsVMDetectionEnabled [get] |
Whether detection of Virtual machines is enabled More... | |
uint | LicenseSpringAPIVersion [get] |
LicenseSpring API version More... | |
string | LocalIp [get, set] |
Local IP address More... | |
string | MACAddress [get, set] |
MAC address More... | |
int | NetworkTimeout [get, set] |
Get network operation timeout in seconds, 0 means use system defaults More... | |
string | OSVersion [get, set] |
OS Version More... | |
string | ProductCode [get, set] |
Product code acquired from LicenseSpring More... | |
ProxySettings | Proxy [get, set] |
Get proxy configuration More... | |
string | SdkVersion [get] |
LicenseSpring SDK version More... | |
string | SharedKey [get, set] |
Shared or Management key acquired from LicenseSpring More... | |
Configuration of the SDK
LicenseSpring.Configuration.Configuration | ( | string | apiKey, |
string | sharedKey, | ||
string | productCode, | ||
string | appName, | ||
string | appVersion, | ||
ExtendedOptions | extendedOptions = null |
||
) |
Configuration constructor
apiKey | Your API key that you got from LicenseSpring platform |
sharedKey | Your Shared key that you got from LicenseSpring platform |
productCode | Your product code |
appName | Your application name |
appVersion | Your application version |
extendedOptions | Instance of the ExtendedOptions, optionally |
System.ArgumentException | Thrown in case of empty API or Shared keys, invalid prouct code |
LicenseSpring.ConfigurationException | Thrown in case of invalid proxy settings |
|
static |
Check if application is running in Mono runtime
|
getset |
Public key for air gap activation acquired from LicenseSpring
Implements LicenseSpring.IConfiguration.
|
getset |
API key acquired from LicenseSpring
Implements LicenseSpring.IConfiguration.
|
getset |
Your application name
Implements LicenseSpring.IConfiguration.
|
getset |
Your application version
Implements LicenseSpring.IConfiguration.
|
get |
Whether SDK should send hostname, local IP and MAC to the platfrom
Implements LicenseSpring.IConfiguration.
|
getset |
CryptoProvider of the configuration
Implements LicenseSpring.IConfiguration.
|
getset |
Customer group(account) code that is required for SSO
Implements LicenseSpring.IConfiguration.
|
get |
In case VM detection enabled returns hypervisor name
Implements LicenseSpring.IConfiguration.
|
getset |
Extended options of the configuration
Implements LicenseSpring.IConfiguration.
|
get |
Grace period
Implements LicenseSpring.IConfiguration.
|
get |
Hardware ID of the device
Implements LicenseSpring.IConfiguration.
|
getset |
Hostname
Implements LicenseSpring.IConfiguration.
|
get |
Whether SDK should log licensing activity to file
Implements LicenseSpring.IConfiguration.
|
get |
In case VM detection enabled returns true if app currently running in virtualized environment
Implements LicenseSpring.IConfiguration.
|
get |
Whether detection of Virtual machines is enabled
Implements LicenseSpring.IConfiguration.
|
get |
LicenseSpring API version
Implements LicenseSpring.IConfiguration.
|
getset |
Local IP address
Implements LicenseSpring.IConfiguration.
|
getset |
MAC address
Implements LicenseSpring.IConfiguration.
|
getset |
Get network operation timeout in seconds, 0 means use system defaults
Implements LicenseSpring.IConfiguration.
|
getset |
OS Version
Implements LicenseSpring.IConfiguration.
|
getset |
Product code acquired from LicenseSpring
Implements LicenseSpring.IConfiguration.
|
getset |
Get proxy configuration
Implements LicenseSpring.IConfiguration.
|
get |
LicenseSpring SDK version
Implements LicenseSpring.IConfiguration.
|
getset |
Shared or Management key acquired from LicenseSpring
Implements LicenseSpring.IConfiguration.