![]() |
LicenseSpring .Net SDK 7.32.1
Easily add Software Licensing to your application
|
ConfigurationFactory interface. 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=10, bool collectNetworkInfo=false, string serviceURL=null) |
Helps create ExtendedOptions. | |
ExtendedOptions | CreateExtendedOptionsDefault () |
Helps create ExtendedOptions. | |
Configuration | CreateOAuthConfiguration (OAuthCredentials OAuthCredentials, string productCode, string appName, string appVersion, ExtendedOptions extendedOptions=null) |
Creates a new Configuration object using OAuth authentication. | |
ProxySettings | CreateProxySettings (string user, string password, string proxyUri=null) |
Helps create ProxySettings. | |
ConfigurationFactory interface.
Configuration LicenseSpring.IConfigurationFactory.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 | Optional instance of ExtendedOptions providing additional configuration capabilities. |
Implemented in LicenseSpring.ConfigurationFactory.
ExtendedOptions LicenseSpring.IConfigurationFactory.CreateExtendedOptions | ( | string | licenseFilePath, |
string | hardwareID, | ||
bool | enableLogging = false , |
||
int | networkTimeout = 10 , |
||
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 |
Implemented in LicenseSpring.ConfigurationFactory.
ExtendedOptions LicenseSpring.IConfigurationFactory.CreateExtendedOptionsDefault | ( | ) |
Helps create ExtendedOptions.
Implemented in LicenseSpring.ConfigurationFactory.
Configuration LicenseSpring.IConfigurationFactory.CreateOAuthConfiguration | ( | OAuthCredentials | OAuthCredentials, |
string | productCode, | ||
string | appName, | ||
string | appVersion, | ||
ExtendedOptions | extendedOptions = null |
||
) |
Creates a new Configuration object using OAuth authentication.
OAuthCredentials | Object encapsulating OAuth id, secret and cryptography key. |
productCode | Your product code. |
appName | Your application name. |
appVersion | Your application version. |
extendedOptions | Optional instance of ExtendedOptions providing additional configuration capabilities. |
Implemented in LicenseSpring.ConfigurationFactory.
ProxySettings LicenseSpring.IConfigurationFactory.CreateProxySettings | ( | string | user, |
string | password, | ||
string | proxyUri = null |
||
) |
Helps create ProxySettings.
user | Proxy user name |
password | Proxy user password |
proxyUri | Proxy Uri |
Implemented in LicenseSpring.ConfigurationFactory.