LicenseWindowsRegistryAliasWriteAlias Method |
Updates the alias with the latest and greatest license data, returns true if successful
Namespace: com.softwarekey.Client.LicensingAssembly: PLUSManaged (in PLUSManaged.dll) Version: 5.23.4.0
Syntaxpublic override bool WriteAlias(
string license
)
Public Overrides Function WriteAlias (
license As String
) As Boolean
public:
virtual bool WriteAlias(
String^ license
) override
Parameters
- license
- Type: SystemString
The license contents to write
Return Value
Type:
BooleanReturns true if the alias is deleted successfully. If it is not successful, check the
LastError property for details.
Remarks Caution |
---|
This method attempts to write the license file alias to the Windows Registry, and also attempts to give full permissions everyone
access to this registry key (using WellKnownSidType.WorldSid).
This is done to help avoid UAC issues, and is the same behavior performed by Protection PLUS 4 SDK libraries and Instant Protection PLUS 3.
Please see our knowledge-base for additional information.
|
See Also