LicenseVerificationVerifyLicenseXML Method |
Checks validity of license string
Namespace: TreeksLicensingLibraryAssembly: TreeksLicensingLibrary (in TreeksLicensingLibrary.dll) Version: 1.3.5562.40448
Syntax public bool VerifyLicenseXML(
string strXML,
ref string ErrorMessage = "",
ref License LicenseObject = null
)
Public Function VerifyLicenseXML (
strXML As String,
Optional ByRef ErrorMessage As String = "",
Optional ByRef LicenseObject As License = Nothing
) As Boolean
public:
bool VerifyLicenseXML(
String^ strXML,
String^% ErrorMessage = L"",
License^% LicenseObject = nullptr
)
member VerifyLicenseXML :
strXML : string *
?ErrorMessage : string byref *
?LicenseObject : License byref
(* Defaults:
let _ErrorMessage = defaultArg ErrorMessage ""
let _LicenseObject = defaultArg LicenseObject null
*)
-> bool
Parameters
- strXML
- Type: SystemString
XML license - ErrorMessage (Optional)
- Type: SystemString
Output variable with error message if validation fails - LicenseObject (Optional)
- Type: TreeksLicensingLibraryLicense
Output variable with license information.
Return Value
Type:
BooleanBoolean value (true if valid license)
Remarks See Also