Click or drag to resize
weroSoft AG, Software
LicenseReader Class
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Provides functionality for reading and verifying software licenses.
Inheritance Hierarchy
SystemObject
  WeroSoft.LicensingLicenseReader

Namespace:  WeroSoft.Licensing
Assembly:  WeroSoft.Core.Library (in WeroSoft.Core.Library.dll) Version: 3.0 Pre-Release
Syntax
C#
public static class LicenseReader

The LicenseReader type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberIsWeroSoftKeyDisabled
Gets or sets a value indicating whether the weroSoft public key is disabled for license check.
Public propertyStatic memberPublicSignatureKey Obsolete.
Allows setting a public key. The getter returns always the weroSoft key.
Public propertyStatic memberTraceLevel
Gets or sets the trace level used for writing the special license trace.
Top
Methods
  NameDescription
Public methodStatic memberReadLicense(Stream)
Reads a license file.
Public methodStatic memberReadLicense(String)
Reads a license file.
Public methodStatic memberReadModuleLicense
Reads a particular license module from within a license file.
Public methodStatic memberRegisterPublicSignatureKey
Adds a new public key to the license reader.
Public methodStatic memberReset
Resets the license reader to its original set values.
Public methodStatic memberResetRegistration Obsolete.
Resets the collection of registered signature keys
Public methodStatic memberVerifyLicense(ILicense)
Verifies a license according its signature and validity.
Public methodStatic memberVerifyLicense(String, String)
Verifies a license according the given identifier.
Public methodStatic memberVerifyLicense(String, String, Boolean)
Verifies a license according the given identifier.
Public methodStatic memberVerifyLicense(String, String, Boolean, Boolean)
Verifies a license according the given identifier.
Public methodStatic memberVerifyLicenseExclusive
Verifies a license according the given file name and license identifier.
Public methodStatic memberVerifySignature(ILicense)
Verifies a licenses signature.
Public methodStatic memberVerifySignature(LicenseActivationResult)
Verifies the signature of the given license result.
Public methodStatic memberVerifySignature(LicenseDeactivationResult)
Verifies the signature of the given license result.
Top
Fields
  NameDescription
Public fieldStatic memberWeroSoftPublicSignatureKey
Gets the public key of signing licenses of weroSoft.
Top
See Also