LicenseVerificationVerifyLicenseFile Method |
Checks validity of license file
Namespace: TreeksLicensingLibraryAssembly: TreeksLicensingLibrary (in TreeksLicensingLibrary.dll) Version: 1.3.5562.40448
Syntax public bool VerifyLicenseFile(
string strPath,
ref string ErrorMessage = "",
ref License LicenseObject = null
)
Public Function VerifyLicenseFile (
strPath As String,
Optional ByRef ErrorMessage As String = "",
Optional ByRef LicenseObject As License = Nothing
) As Boolean
public:
bool VerifyLicenseFile(
String^ strPath,
String^% ErrorMessage = L"",
License^% LicenseObject = nullptr
)
member VerifyLicenseFile :
strPath : string *
?ErrorMessage : string byref *
?LicenseObject : License byref
(* Defaults:
let _ErrorMessage = defaultArg ErrorMessage ""
let _LicenseObject = defaultArg LicenseObject null
*)
-> bool
Parameters
- strPath
- Type: SystemString
Filesystem path to license file - 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