LicenseSpring .Net SDK 7.30.0
Easily add Software Licensing to your application
Loading...
Searching...
No Matches
LicenseSpring.ExtendedOptions Class Reference

Class for storing useful settings that the Configuration object will include. More...

Inheritance diagram for LicenseSpring.ExtendedOptions:
LicenseSpring.IExtendedOptions

Public Member Functions

 ExtendedOptions ()
 Create default ExtendedOptions object.
 

Properties

bool AirgapSkipLocalTimeCheck = false [get, set]
 If set to true local licence check will ignore local time desynchronization. Works only with airgaped licences. Default false.
 
string AlternateKey [get, set]
 This option can be used if you are planning to deploy self-hosted server.Contact support for more details.
 
string AlternateServiceURL [get, set]
 Alternate base URL for LicenseSpring API.This option can be used if you are planning to deploy self-hosted server
 
string BundleCode [get, set]
 If a user has a standalone and a bundle licence for the same product the system defaults to using the standalone licence. Provide a value to this property to use a bundle licence instead.
 
int CloudIdRequestTimeout [get, set]
 Timeout for cloud instance id requests in milliseconds, default is 200.Useful with DeviceIdAlgorithm.AutoId if requests take a long time to complete.
 
bool CollectNetworkInfo [get, set]
 Whether SDK should send host, local IP and MAC to the LicenseSpring platform.
 
List< KeyValuePair< string, string > > CustomHeaders [get]
 If you need to send aditional custom header values with your requests, add them here.
 
DeviceIDAlgorithm DeviceIdAlgorithm [get, set]
 Allows to choose device (hardware) id calculation algorithm.By default it is DeviceIDAlgorithm.Default for backward compatibility.
 
bool EnableLogging [get, set]
 Whether SDK should log licensing activity.Attention! It's developers only so make sure it's DISABLED in your release builds
 
bool EnableVMDetection [get, set]
 Control (enable or disable) detection of Virtual machines.
 
uint GracePeriod [get, set]
 Grace period in hours, default is 48 hours.Set 0 to disable grace period. For cloud floating licenses grace period on license check is enabled if more than an hour of floating period remains.
 
string HardwareID [get, set]
 Hardware ID of the device. This option allows using custom device ID.
 
string LicenseFilePath [get, set]
 Path to local license file.>This property is obsolete, use LicenseManager.DataLocation instead or set LicenseFileStorage explicitly.
 
int NetworkTimeout [get, set]
 Network timeout in seconds, default is 10, 0 means use system defaults.
 
bool ProtectOfflineActivation [get, set]
 Provides additional protection for offline activation, by default it's enabled.The SDK creates hidden guard file that ensure activation response file will be valid only once and corresponds to the request file.
 
ProxySettings Proxy [get, set]
 Proxy settings, if not specified then default settings will be used.
 
- Properties inherited from LicenseSpring.IExtendedOptions

Detailed Description

Class for storing useful settings that the Configuration object will include.

Property Documentation

◆ AirgapSkipLocalTimeCheck

bool LicenseSpring.ExtendedOptions.AirgapSkipLocalTimeCheck = false
getset

If set to true local licence check will ignore local time desynchronization. Works only with airgaped licences. Default false.

Implements LicenseSpring.IExtendedOptions.

◆ AlternateKey

string LicenseSpring.ExtendedOptions.AlternateKey
getset

This option can be used if you are planning to deploy self-hosted server.Contact support for more details.

Implements LicenseSpring.IExtendedOptions.

◆ AlternateServiceURL

string LicenseSpring.ExtendedOptions.AlternateServiceURL
getset

Alternate base URL for LicenseSpring API.This option can be used if you are planning to deploy self-hosted server

Implements LicenseSpring.IExtendedOptions.

◆ BundleCode

string LicenseSpring.ExtendedOptions.BundleCode
getset

If a user has a standalone and a bundle licence for the same product the system defaults to using the standalone licence. Provide a value to this property to use a bundle licence instead.

Implements LicenseSpring.IExtendedOptions.

◆ CloudIdRequestTimeout

int LicenseSpring.ExtendedOptions.CloudIdRequestTimeout
getset

Timeout for cloud instance id requests in milliseconds, default is 200.Useful with DeviceIdAlgorithm.AutoId if requests take a long time to complete.

Implements LicenseSpring.IExtendedOptions.

◆ CollectNetworkInfo

bool LicenseSpring.ExtendedOptions.CollectNetworkInfo
getset

Whether SDK should send host, local IP and MAC to the LicenseSpring platform.

Implements LicenseSpring.IExtendedOptions.

◆ CustomHeaders

List<KeyValuePair<string, string> > LicenseSpring.ExtendedOptions.CustomHeaders
get

If you need to send aditional custom header values with your requests, add them here.

Implements LicenseSpring.IExtendedOptions.

◆ DeviceIdAlgorithm

DeviceIDAlgorithm LicenseSpring.ExtendedOptions.DeviceIdAlgorithm
getset

Allows to choose device (hardware) id calculation algorithm.By default it is DeviceIDAlgorithm.Default for backward compatibility.

Implements LicenseSpring.IExtendedOptions.

◆ EnableLogging

bool LicenseSpring.ExtendedOptions.EnableLogging
getset

Whether SDK should log licensing activity.Attention! It's developers only so make sure it's DISABLED in your release builds

inheritdoc/>

Implements LicenseSpring.IExtendedOptions.

◆ EnableVMDetection

bool LicenseSpring.ExtendedOptions.EnableVMDetection
getset

Control (enable or disable) detection of Virtual machines.

Implements LicenseSpring.IExtendedOptions.

◆ GracePeriod

uint LicenseSpring.ExtendedOptions.GracePeriod
getset

Grace period in hours, default is 48 hours.Set 0 to disable grace period. For cloud floating licenses grace period on license check is enabled if more than an hour of floating period remains.

Implements LicenseSpring.IExtendedOptions.

◆ HardwareID

string LicenseSpring.ExtendedOptions.HardwareID
getset

Hardware ID of the device. This option allows using custom device ID.

Implements LicenseSpring.IExtendedOptions.

◆ LicenseFilePath

string LicenseSpring.ExtendedOptions.LicenseFilePath
getset

Path to local license file.>This property is obsolete, use LicenseManager.DataLocation instead or set LicenseFileStorage explicitly.

Implements LicenseSpring.IExtendedOptions.

◆ NetworkTimeout

int LicenseSpring.ExtendedOptions.NetworkTimeout
getset

Network timeout in seconds, default is 10, 0 means use system defaults.

Implements LicenseSpring.IExtendedOptions.

◆ ProtectOfflineActivation

bool LicenseSpring.ExtendedOptions.ProtectOfflineActivation
getset

Provides additional protection for offline activation, by default it's enabled.The SDK creates hidden guard file that ensure activation response file will be valid only once and corresponds to the request file.

Implements LicenseSpring.IExtendedOptions.

◆ Proxy

ProxySettings LicenseSpring.ExtendedOptions.Proxy
getset

Proxy settings, if not specified then default settings will be used.

Implements LicenseSpring.IExtendedOptions.


The documentation for this class was generated from the following file: