![]() |
LicenseSpring .Net SDK 7.30.0
Easily add Software Licensing to your application
|
LicenseSpring ConfigurationFactory class. More...
Public Member Functions | |||||||||||||
Configuration | CreateConfiguration (string apiKey, string sharedKey, string productCode, string appName, string appVersion, ExtendedOptions extendedOptions=null) | ||||||||||||
Helps create Configuration.
| |||||||||||||
ExtendedOptions | CreateExtendedOptions (string licenseFilePath, string hardwareID, bool enableLogging=false, int networkTimeout=7, bool collectNetworkInfo=false, string serviceURL=null) | ||||||||||||
Helps create ExtendedOptions.
| |||||||||||||
ExtendedOptions | CreateExtendedOptionsDefault () | ||||||||||||
Helps create ExtendedOptions.
| |||||||||||||
ProxySettings | CreateProxySettings (string user, string password, string proxyUri=null) | ||||||||||||
Helps create ProxySettings.
| |||||||||||||
LicenseSpring ConfigurationFactory class.
This class letting use the SDK from VBA side, actually from any COM client
In .Net app you can create LicenseSpring Configuration and ExtendedOptions directly or also use this class
Configuration LicenseSpring.ConfigurationFactory.CreateConfiguration | ( | string | apiKey, |
string | sharedKey, | ||
string | productCode, | ||
string | appName, | ||
string | appVersion, | ||
ExtendedOptions | extendedOptions = null |
||
) |
Helps create Configuration.
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 ExtendedOptions, optionally |
Implements LicenseSpring.IConfigurationFactory.
ExtendedOptions LicenseSpring.ConfigurationFactory.CreateExtendedOptions | ( | string | licenseFilePath, |
string | hardwareID, | ||
bool | enableLogging = false , |
||
int | networkTimeout = 7 , |
||
bool | collectNetworkInfo = false , |
||
string | serviceURL = null |
||
) |
Helps create ExtendedOptions.
licenseFilePath | Desired path for local license file |
hardwareID | Hardware identifier, leave it empty to use built-in hardware ID generation algo |
enableLogging | Enables or disables license logging, it's developers only so make sure it's disabled in your release builds |
networkTimeout | Timeout value for network operations |
collectNetworkInfo | Whether to collect info on hostnames, local IP and MAC addresses of end users |
serviceURL | Custom service URL |
Implements LicenseSpring.IConfigurationFactory.
ExtendedOptions LicenseSpring.ConfigurationFactory.CreateExtendedOptionsDefault | ( | ) |
Helps create ExtendedOptions.
Implements LicenseSpring.IConfigurationFactory.
ProxySettings LicenseSpring.ConfigurationFactory.CreateProxySettings | ( | string | user, |
string | password, | ||
string | proxyUri = null |
||
) |
Helps create ProxySettings.
user | Proxy user name |
password | Proxy user password |
proxyUri | Proxy Uri |
Implements LicenseSpring.IConfigurationFactory.