Click or drag to resize
LicenseVerification Class
Use this class to verify user's license.
Inheritance Hierarchy
SystemObject
  TreeksLicensingLibrary2LicenseVerification

Namespace: TreeksLicensingLibrary2
Assembly: TreeksLicensingLibrary2 (in TreeksLicensingLibrary2.dll) Version: 2.1.6966.12121 (2.1.0.0)
Syntax
public class LicenseVerification

The LicenseVerification type exposes the following members.

Constructors
  NameDescription
Public methodLicenseVerification
Initializes license verification class and allows the public key to be set by SetPublicKey method.
Public methodLicenseVerification(String)
Initializes license verification class and sets the public key used to verify license authenticity.
Top
Properties
  NameDescription
Public propertyLastDecryptedLicenseObject
Returns structured object with data about license from last verification attempt. It will contain license info even in case that validation fails.
Public propertyLastDecryptedLicenseXML
Returns decrypted license XML from last verification attempt
Public propertyObfuscationPassword
Gets or sets the obfuscation password used to decrypt license
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetPublicKey
Allows to set the public key after object initialization without it.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodVerifyLicenseFile
Checks validity of license file. Use optional output arguments to get validated License object and/or error message.
Public methodVerifyLicenseString
Checks validity of license string. Use optional output arguments to get validated License object and/or error message.
Top
Remarks
NEVER ADD PRIVATE KEY TO YOUR APPLICATION DEPLOYED TO USERS. ALWAYS USE PUBLIC KEY TO VERIFY LICENSE.
See Also