LicenseVerificationVerifyLicenseFile Method |
Checks validity of license file. 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 VerifyLicenseFile(
string LicenseFilePath,
ref string ErrorMessage = "",
ref License VerifiedLicenseData = null
)
Public Function VerifyLicenseFile (
LicenseFilePath As String,
Optional ByRef ErrorMessage As String = "",
Optional ByRef VerifiedLicenseData As License = Nothing
) As Boolean
public:
bool VerifyLicenseFile(
String^ LicenseFilePath,
String^% ErrorMessage = L"",
License^% VerifiedLicenseData = nullptr
)
member VerifyLicenseFile :
LicenseFilePath : string *
?ErrorMessage : string byref *
?VerifiedLicenseData : License byref
(* Defaults:
let _ErrorMessage = defaultArg ErrorMessage ""
let _VerifiedLicenseData = defaultArg VerifiedLicenseData null
*)
-> bool
Parameters
- LicenseFilePath
- Type: SystemString
Path to the license file - 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