Click or drag to resize
LicenseRefreshLicense Method (XmlLicenseFileService, String)
Returns the current license file contents from SOLO Server using the current value in the InstallationID property.

Namespace: com.softwarekey.Client.Licensing
Assembly: PLUSManaged (in PLUSManaged.dll) Version:
public virtual bool RefreshLicense(
	XmlLicenseFileService client,
	ref string licenseContent


Type: com.softwarekey.Client.WebService.XmlLicenseFileServiceXmlLicenseFileService
For the .NET Framework PLUSManaged assembly, the SoapHttpClientProtocol derived object used to perform the web service call.
For the .NET Standard PLUSManaged assembly, the XmlWebService derived object used to perform the web service call.
Type: SystemString
The contents of the License File

Return Value

Type: Boolean
Returns true if successful. If this is not successful, check the LastError property for details.

This processes license refresh request using SOLO Server's XmlLicenseFileService web service's GetLicenseFile method. InstallationID property. If the Installation ID is not set or is invalid, the ActivateOnline may be used to get one, or you can call the ActivateInstallationLicenseFile method to get the Installation ID and License File at the same time.

See Also