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 (String, String, String, Boolean)

Installs the license for the component. Could be used for ClickOnce deployment to install the license while installing the software.

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

Syntax


public static void InstallLicense(
	string user,
	string company,
	string email,
	bool LoadLicenseFromDefaultContainer
)
Public Shared Sub InstallLicense ( _
	user As String, _
	company As String, _
	email As String, _
	LoadLicenseFromDefaultContainer As Boolean _
)
public:
static void InstallLicense(
	String^ user, 
	String^ company, 
	String^ email, 
	bool^ LoadLicenseFromDefaultContainer
)

Parameters

user
Type: String
The user.
company
Type: String
The company.
email
Type: String
The email.
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