LicenseContext::SetSavedLicenseKey Method (Type^, String^)
.NET Framework (current version)
When overridden in a derived class, sets a license key for the specified type.
Assembly: System (in System.dll)
Parameters
- type
-
Type:
System::Type^
A Type that represents the component associated with the license key.
- key
-
Type:
System::String^
The LicenseKey to save for the type of component.
Typically, call this method when you set LicenseUsageMode at design time. You must override the UsageMode property to implement design-time license support.
Notes to Inheritors:
This method does not provide support for a saved license key. Override this method and the GetSavedLicenseKey method to implement a key.
.NET Framework
Available since 1.1
Available since 1.1
Show: