XmlLicense
Namespace: Babel.Licensing Assembly: Babel.Licensing.dll
Defines a license object that can be retrieved from an XML document. This class cannot be inherited.
Inheritance
Implements
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Extension Methods
Licenseable.Build(ILicense), Licenseable.CopyFrom<XmlLicense>(XmlLicense, XmlLicense), Licenseable.ExpiresAt<XmlLicense>(XmlLicense, DateTime?), Licenseable.ForAnyAssembly<XmlLicense>(XmlLicense), Licenseable.ForAnyComponent<XmlLicense>(XmlLicense), Licenseable.ForAssembly<XmlLicense>(XmlLicense, Assembly), Licenseable.ForAssembly<XmlLicense>(XmlLicense, string), Licenseable.ForBetaTesters<XmlLicense>(XmlLicense, string, string, DateTime?), Licenseable.ForProduct<XmlLicense>(XmlLicense, string, string, string, string, string), Licenseable.IssuedAt<XmlLicense>(XmlLicense, DateTime?), Licenseable.LicensedTo<XmlLicense>(XmlLicense, string, string, string, string, byte[]), Licenseable.NotForVirtualEnvironment<XmlLicense>(XmlLicense), Licenseable.RestrictedToProcess<XmlLicense>(XmlLicense, params string[]), Licenseable.SignWith(ILicense, ISignatureProvider), Licenseable.SignWithKeys(ILicense, string, string), Licenseable.SupportExpiresAt<XmlLicense>(XmlLicense, DateTime?), Licenseable.ToRestrictedDomain<XmlLicense>(XmlLicense, string, string), Licenseable.UseOnlyAt<XmlLicense>(XmlLicense, string), Licenseable.ValidateWith(ILicense, ISignatureProvider), Licenseable.ValidateWithPublicKey(ILicense, string), Licenseable.WithComponents<XmlLicense>(XmlLicense, params string[]), Licenseable.WithFeature<XmlLicense>(XmlLicense, string, string, byte[], DateTime?, byte[]), Licenseable.WithFeature<XmlLicense>(XmlLicense, Feature), Licenseable.WithFeatures<XmlLicense>(XmlLicense, params Feature[]), Licenseable.WithField<XmlLicense>(XmlLicense, string, string), Licenseable.WithFields<XmlLicense>(XmlLicense, IDictionary<string, string>), Licenseable.WithFields<XmlLicense>(XmlLicense, params Field[]), Licenseable.WithHardwareKey<XmlLicense>(XmlLicense, string), Licenseable.WithId<XmlLicense>(XmlLicense, string), Licenseable.WithMaxSites<XmlLicense>(XmlLicense, int), Licenseable.WithMaximumRunCount<XmlLicense>(XmlLicense, int?), Licenseable.WithMaximumRunningInstances<XmlLicense>(XmlLicense, int?), Licenseable.WithRestrictions<XmlLicense>(XmlLicense, params Restriction[]), Licenseable.WithTrialDays<XmlLicense>(XmlLicense, int?), Licenseable.WithTrialRunTime<XmlLicense>(XmlLicense, TimeSpan?), Licenseable.WithType<XmlLicense>(XmlLicense, string), Licenseable.WithUniqueId<XmlLicense>(XmlLicense, string, int)
Constructors
XmlLicense()
Initializes a new instance of the class.
Examples
Properties
Assemblies
Gets the licensed assemblies collection.
Property Value
Components
Gets the licensed components collection.
Property Value
ExpireDate
Gets, sets the license expire date.
Property Value
Features
Gets the license collection.
Property Value
Fields
Gets the license collection.
Property Value
Id
Gets or sets the license identifier.
Property Value
IsBeta
Gets a value indicating whether this object is beta.
Property Value
IsTrial
Gets a value indicating whether this object is trial.
Property Value
IssueDate
Gets, sets the license issue date.
Property Value
LicenseKey
Gets the license key granted to this component.
Property Value
Licensee
Gets, sets the information.
Property Value
Product
Gets, sets the licensed product information.
Property Value
Restrictions
Gets the collection of objects.
Property Value
Sites
Gets or sets the number of sites to license.
Property Value
int?
SupportExpireDate
Gets, sets the license support expire date.
Property Value
Timestamp
Gets the license object creation time.
Property Value
Type
Gets or sets the license type.
Property Value
Methods
Dispose()
Disposes of the resources used by the license object.
~XmlLicense()
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
Parse(string)
Parse the specified XML license string.
Parameters
The license key.
Returns
An XmlLicense object that corresponds to the license key.
Last updated