Click or drag to resize
XmlLicense Class
Defines a license object that can be retrieved from an XML document. This class cannot be inherited.
Inheritance Hierarchy
SystemObject
  Babel.LicensingXmlLicense

Namespace:  Babel.Licensing
Assemblies:   Babel.Licensing (in Babel.Licensing.dll) Version: 2.4.0.0
  Babel.Licensing (in Babel.Licensing.dll) Version: 2.4.0.0
Syntax
public sealed class XmlLicense : ILicense

The XmlLicense type exposes the following members.

Constructors
  NameDescription
Public methodCode exampleXmlLicense
Initializes a new instance of the XmlLicense class.
Top
Properties
  NameDescription
Public propertyAssemblies
Gets the licensed assemblies collection.
Public propertyComponents
Gets the licensed components collection.
Public propertyExpireDate
Gets, sets the license expire date.
Public propertyFeatures
Gets the license Feature collection.
Public propertyFields
Gets the license Field collection.
Public propertyId
Gets or sets the license identifier.
Public propertyIsBeta
Gets a value indicating whether this object is beta.
Public propertyIssueDate
Gets, sets the license issue date.
Public propertyIsTrial
Gets a value indicating whether this object is trial.
Public propertyLicensee
Gets, sets the Licensee information.
Public propertyLicenseKey
Gets the license key granted to this component.
Public propertyProduct
Gets, sets the licensed product information.
Public propertyRestrictions
Gets the collection of Restriction objects.
Public propertySupportExpireDate
Gets, sets the license support expire date.
Public propertyTimestamp
Gets the license object creation time.
Public propertyType
Gets or sets 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.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
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