LicenseFileSystemAliasWriteAlias Method |
Updates the alias with the most current license file data.
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 to the alias.
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 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