ILicense

Namespace: Babel.Licensing Assembly: Babel.Licensing.dll

Defines a common interface for license objects.

public interface ILicense

Extension Methods

Licenseable.Build(ILicense), Licenseable.CopyFrom<ILicense>(ILicense, ILicense), Licenseable.ExpiresAt<ILicense>(ILicense, DateTime?), Licenseable.ForAnyAssembly<ILicense>(ILicense), Licenseable.ForAnyComponent<ILicense>(ILicense), Licenseable.ForAssembly<ILicense>(ILicense, Assembly), Licenseable.ForAssembly<ILicense>(ILicense, string), Licenseable.ForBetaTesters<ILicense>(ILicense, string, string, DateTime?), Licenseable.ForProduct<ILicense>(ILicense, string, string, string, string, string), Licenseable.IssuedAt<ILicense>(ILicense, DateTime?), Licenseable.LicensedTo<ILicense>(ILicense, string, string, string, string, byte[]), Licenseable.NotForVirtualEnvironment<ILicense>(ILicense), Licenseable.RestrictedToProcess<ILicense>(ILicense, params string[]), Licenseable.SignWith(ILicense, ISignatureProvider), Licenseable.SignWithKeys(ILicense, string, string), Licenseable.SupportExpiresAt<ILicense>(ILicense, DateTime?), Licenseable.ToRestrictedDomain<ILicense>(ILicense, string, string), Licenseable.UseOnlyAt<ILicense>(ILicense, string), Licenseable.ValidateWith(ILicense, ISignatureProvider), Licenseable.ValidateWithPublicKey(ILicense, string), Licenseable.WithComponents<ILicense>(ILicense, params string[]), Licenseable.WithFeature<ILicense>(ILicense, string, string, byte[], DateTime?, byte[]), Licenseable.WithFeature<ILicense>(ILicense, Feature), Licenseable.WithFeatures<ILicense>(ILicense, params Feature[]), Licenseable.WithField<ILicense>(ILicense, string, string), Licenseable.WithFields<ILicense>(ILicense, IDictionary<string, string>), Licenseable.WithFields<ILicense>(ILicense, params Field[]), Licenseable.WithHardwareKey<ILicense>(ILicense, string), Licenseable.WithId<ILicense>(ILicense, string), Licenseable.WithMaxSites<ILicense>(ILicense, int), Licenseable.WithMaximumRunCount<ILicense>(ILicense, int?), Licenseable.WithMaximumRunningInstances<ILicense>(ILicense, int?), Licenseable.WithRestrictions<ILicense>(ILicense, params Restriction[]), Licenseable.WithTrialDays<ILicense>(ILicense, int?), Licenseable.WithTrialRunTime<ILicense>(ILicense, TimeSpan?), Licenseable.WithType<ILicense>(ILicense, string), Licenseable.WithUniqueId<ILicense>(ILicense, string, int)

Properties

Assemblies

Gets the collection of licensed assemblies full names.

ICollection<string> Assemblies { get; }

Property Value

ICollection<string>

Components

Gets the licensed components collection.

ICollection<string> Components { get; }

Property Value

ICollection<string>

ExpireDate

Gets or sets the license expire date.

DateTime? ExpireDate { get; set; }

Property Value

DateTime?

Features

Gets the collection of license .

ICollection<Feature> Features { get; }

Property Value

ICollection<Feature>

Fields

Gets the collection of license .

ICollection<Field> Fields { get; }

Property Value

ICollection<Field>

Id

Gets or sets the license identifier.

string Id { get; set; }

Property Value

string

IssueDate

Gets or sets the license issue date.

DateTime? IssueDate { get; set; }

Property Value

DateTime?

LicenseKey

Gets the license key.

string LicenseKey { get; }

Property Value

string

Licensee

Gets or sets the information.

Licensee Licensee { get; set; }

Property Value

Licensee

Product

Gets or sets the licensed product information.

Product Product { get; set; }

Property Value

Product

Restrictions

Gets the collection of objects.

ICollection<Restriction> Restrictions { get; }

Property Value

ICollection<Restriction>

Sites

Gets or sets the number of sites to license.

int? Sites { get; set; }

Property Value

int?

SupportExpireDate

Gets or sets the license support expire date.

DateTime? SupportExpireDate { get; set; }

Property Value

DateTime?

Type

Gets or sets the license type.

string Type { get; set; }

Property Value

string

Last updated