StringLicense
Namespace: Babel.Licensing Assembly: Babel.Licensing.dll
Defines a license object that can be retrieved from an encoded string. This class cannot be inherited.
Inheritance
Implements
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Extension Methods
Licenseable.Build(ILicense), Licenseable.CopyFrom<StringLicense>(StringLicense, StringLicense), Licenseable.ExpiresAt<StringLicense>(StringLicense, DateTime?), Licenseable.ForAnyAssembly<StringLicense>(StringLicense), Licenseable.ForAnyComponent<StringLicense>(StringLicense), Licenseable.ForAssembly<StringLicense>(StringLicense, Assembly), Licenseable.ForAssembly<StringLicense>(StringLicense, string), Licenseable.ForBetaTesters<StringLicense>(StringLicense, string, string, DateTime?), Licenseable.ForProduct<StringLicense>(StringLicense, string, string, string, string, string), Licenseable.IssuedAt<StringLicense>(StringLicense, DateTime?), Licenseable.LicensedTo<StringLicense>(StringLicense, string, string, string, string, byte[]), Licenseable.NotForVirtualEnvironment<StringLicense>(StringLicense), Licenseable.RestrictedToProcess<StringLicense>(StringLicense, params string[]), Licenseable.SignWith(ILicense, ISignatureProvider), Licenseable.SignWithKeys(ILicense, string, string), Licenseable.SupportExpiresAt<StringLicense>(StringLicense, DateTime?), Licenseable.ToRestrictedDomain<StringLicense>(StringLicense, string, string), Licenseable.UseOnlyAt<StringLicense>(StringLicense, string), Licenseable.ValidateWith(ILicense, ISignatureProvider), Licenseable.ValidateWithPublicKey(ILicense, string), Licenseable.WithComponents<StringLicense>(StringLicense, params string[]), Licenseable.WithFeature<StringLicense>(StringLicense, string, string, byte[], DateTime?, byte[]), Licenseable.WithFeature<StringLicense>(StringLicense, Feature), Licenseable.WithFeatures<StringLicense>(StringLicense, params Feature[]), Licenseable.WithField<StringLicense>(StringLicense, string, string), Licenseable.WithFields<StringLicense>(StringLicense, IDictionary<string, string>), Licenseable.WithFields<StringLicense>(StringLicense, params Field[]), Licenseable.WithHardwareKey<StringLicense>(StringLicense, string), Licenseable.WithId<StringLicense>(StringLicense, string), Licenseable.WithMaxSites<StringLicense>(StringLicense, int), Licenseable.WithMaximumRunCount<StringLicense>(StringLicense, int?), Licenseable.WithMaximumRunningInstances<StringLicense>(StringLicense, int?), Licenseable.WithRestrictions<StringLicense>(StringLicense, params Restriction[]), Licenseable.WithTrialDays<StringLicense>(StringLicense, int?), Licenseable.WithTrialRunTime<StringLicense>(StringLicense, TimeSpan?), Licenseable.WithType<StringLicense>(StringLicense, string), Licenseable.WithUniqueId<StringLicense>(StringLicense, string, int)
Constructors
StringLicense()
Initializes a new instance of the class.
Examples
Fields
DefaultMaskSize
The default string license mask size used to randomize the generated string.
Field Value
Properties
Assemblies
Gets the collection of licensed assemblies full names.
Property Value
Components
Gets the licensed components collection.
Property Value
ExpireDate
Gets the license expire date.
Property Value
Features
Gets the license collection.
Property Value
Fields
Gets the license collection.
Property Value
Id
Gets the license identifier.
Property Value
IsBeta
Gets a value indicating whether this object represents a beta license.
Property Value
IsTrial
Gets a value indicating whether this object represents a trial license.
Property Value
IssueDate
Gets the license issue date.
Property Value
LicenseKey
Gets the license key granted to this component.
Property Value
Licensee
Gets the information.
Property Value
Product
Gets 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 the license support expire date.
Property Value
Timestamp
Gets the date/time when this object was created.
Property Value
Type
Gets the license type.
Property Value
Methods
Dispose()
Disposes of the resources used by the license object.
~StringLicense()
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 license string.
Parameters
The license key.
Returns
An StringLicense object that corresponds to the license key.
Last updated