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)
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