CAS.Lib.CodeProtect Namespace
CAS.Lib.CodeProtect.LicenseDsc Namespace
CAS.Lib.CodeProtect.LicenseDsc.Constraints Namespace
CAS.Lib.CodeProtect.Properties Namespace
OOI CodeProtect

LibInstaller..::..InstallLicense Method (Boolean)

Installs the license for the component with the default values for the user of the license. Could be used while debugging to allow to pass the license validation process.

Namespace:  CAS.Lib.CodeProtect
Assembly:  CAS.CodeProtect (in CAS.CodeProtect.dll)

Syntax


public static void InstallLicense(
	bool LoadLicenseFromDefaultContainer
)
Public Shared Sub InstallLicense ( _
	LoadLicenseFromDefaultContainer As Boolean _
)
public:
static void InstallLicense(
	bool^ LoadLicenseFromDefaultContainer
)

Parameters

LoadLicenseFromDefaultContainer
Type: Boolean
if set to true the license is loaded from default container. otherwise license is loaded from file

Exceptions


ExceptionCondition
ArgumentOutOfRangeExceptionSource Assembly cannot be found.