LicenseFileSystemAlias.WriteAlias Method
Click or drag to resize
LicenseFileSystemAliasWriteAlias Method
Updates the alias with the most current license file data.

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

Parameters

license
Type: SystemString
The license contents to write to the alias.

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 uses the GrantControlToWorld(String) to try to give all users full control of the alias file. This helps avoid problems with the UAC in Windows, and helps avoid problems that can often be encountered when your application stores alias files in a location that is shared by all users.

See Also