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

LicenseFile..::..UpgradeLicense Method (String)

Upgrades the license

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

Syntax


public static void UpgradeLicense(
	string newLicFName
)
Public Shared Sub UpgradeLicense ( _
	newLicFName As String _
)
public:
static void UpgradeLicense(
	String^ newLicFName
)

Parameters

newLicFName
Type: String
A relative or absolute path for the new license file.

Exceptions


ExceptionCondition
CAS.Lib.CodeProtect.LicenseDsc..::..LicenseFileException The LicenseFileException object with a specified error message and a reference to the inner exception that is the cause of this exception.