LicenseVerificationVerifyLicenseString Method |
Checks validity of license string. Use optional output arguments to get validated License object and/or error message.
Namespace:
TreeksLicensingLibrary2
Assembly:
TreeksLicensingLibrary2 (in TreeksLicensingLibrary2.dll) Version: 2.1.8318.42066 (2.1.0.0)
Syntax public bool VerifyLicenseString(
string License,
ref string ErrorMessage = "",
ref License VerifiedLicenseData = null
)
Public Function VerifyLicenseString (
License As String,
Optional ByRef ErrorMessage As String = "",
Optional ByRef VerifiedLicenseData As License = Nothing
) As Boolean
public:
bool VerifyLicenseString(
String^ License,
String^% ErrorMessage = L"",
License^% VerifiedLicenseData = nullptr
)
member VerifyLicenseString :
License : string *
?ErrorMessage : string byref *
?VerifiedLicenseData : License byref
(* Defaults:
let _ErrorMessage = defaultArg ErrorMessage ""
let _VerifiedLicenseData = defaultArg VerifiedLicenseData null
*)
-> bool
Parameters
- License
- Type: SystemString
String containing license information generated by TLL - ErrorMessage (Optional)
- Type: SystemString
Output variable with error message if validation fails - VerifiedLicenseData (Optional)
- Type: TreeksLicensingLibrary2License
Output variable with license information.
Return Value
Type:
BooleanBoolean: True if valid license was supplied
Remarks See Also