Click or drag to resize
LicenseSigningKey Class
This class holds keys for license signing.
Inheritance Hierarchy
SystemObject
  TreeksLicensingLibraryLicenseSigningKey

Namespace: TreeksLicensingLibrary
Assembly: TreeksLicensingLibrary (in TreeksLicensingLibrary.dll) Version: 1.3.5562.40448
Syntax
public class LicenseSigningKey

The LicenseSigningKey type exposes the following members.

Constructors
  NameDescription
Public methodLicenseSigningKey
Initializes a new instance of the LicenseSigningKey class
Top
Methods
  NameDescription
Public methodCreate
Generates new random keypair
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.)
Public methodLoadFile
Loads previously saved keypair from file system.
Public methodLoadXMLKey
Loads the keypair from string
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSaveFile
Saves keypair in byte form to file
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyPrivateKeyBytes
Returns private key in byte form. Never use this value in your application source. Save separately.
Public propertyPrivateKeyHash
Return SHA1 hash of private key
Public propertyPrivateKeyXML
Returns license signing private key, to save in plain text form. Never use this value in your application source. Save separately.
Public propertyProvider
.NET Encryption provider. No need to set/access by developer.
Public propertyPublicKeyHash
Returns SHA1 hash of public key
Public propertyPublicKeyXML
Returns license signing public key. Only this should be included in your application.
Top
Remarks