Click or drag to resize
StringLicense Class
Defines a license object that can be retrieved from an encoded string. This class cannot be inherited.
Inheritance Hierarchy
SystemObject
  Babel.LicensingStringLicense

Namespace:  Babel.Licensing
Assemblies:   Babel.Licensing (in Babel.Licensing.dll) Version: 2.3.3.0
  Babel.Licensing (in Babel.Licensing.dll) Version: 2.3.3.0
Syntax
public class StringLicense : ILicense

The StringLicense type exposes the following members.

Constructors
  NameDescription
Public methodCode exampleStringLicense
Initializes a new instance of the StringLicense class.
Top
Properties
  NameDescription
Public propertyAssemblies
Gets the collection of licensed assemblies full names.
Public propertyComponents
Gets the licensed components collection.
Public propertyExpireDate
Gets the license expire date.
Public propertyFeatures
Gets the license Feature collection.
Public propertyFields
Gets the license Field collection.
Public propertyId
Gets the license identifier.
Public propertyIsBeta
Gets a value indicating whether this object represents a beta license.
Public propertyIssueDate
Gets the license issue date.
Public propertyIsTrial
Gets a value indicating whether this object represents a trial license.
Public propertyLicensee
Gets the Licensee information.
Public propertyLicenseKey
Gets the license key granted to this component.
Public propertyProduct
Gets the licensed product information.
Public propertyRestrictions
Gets the collection of Restriction objects.
Public propertyTimestamp
Gets the date/time when this object was created.
Public propertyType
Gets the license type.
Top
Methods
  NameDescription
Public methodDispose
Disposes of the resources used by the license object.
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.
(Overrides ObjectFinalize.)
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 methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberDefaultMaskSize
The default string license mask size used to randomize the generated string.
Top
Extension Methods
  NameDescription
Public Extension MethodBuild
An extension method that converts the input license to a ILicenseBuilder object.
(Defined by Licenseable.)
Public Extension MethodCode exampleSignWith
An ILicense extension method that is used to sign the current license object with the given ISignatureProvider.
(Defined by Licenseable.)
Public Extension MethodCode exampleSignWithKeys
An ILicense extension method that is used to sign the current license object with the given key pair.
(Defined by Licenseable.)
Public Extension MethodValidateWith
An ILicense extension method that validates the current license object with the given ISignatureProvider.
(Defined by Licenseable.)
Public Extension MethodValidateWithPublicKey
An ILicense extension method that validates the current license object with the given public key.
(Defined by Licenseable.)
Top
See Also