Click or drag to resize
LicenseWindowsRegistryAliasWriteAlias Method
Updates the alias with the latest and greatest license data, returns true if successful

Namespace: com.softwarekey.Client.Licensing
Assembly: PLUSManaged (in PLUSManaged.dll) Version: 5.18.3.0
Syntax
public override bool WriteAlias(
	string license
)

Parameters

license
Type: SystemString
The license contents to write

Return Value

Type: Boolean
Returns true if the alias is deleted successfully. If it is not successful, check the LastError property for details.
Remarks
Caution note 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 libraries and Instant PLUS. Please see our knowledge-base for additional information.

See Also