Table of Contents

Interface ILicense

Namespace
ComponentSpace.Saml2.Licensing
Assembly
ComponentSpace.Saml2.dll

Provides license information.

public interface ILicense

Properties

CustomerID

Gets the customer ID.

string CustomerID { get; }

Property Value

string

The customer ID.

Expiry

Gets the date/time the license expires.

DateTime Expiry { get; }

Property Value

DateTime

The date/time the license expires.

IssuedAt

Gets the date/time the license was issued.

DateTime IssuedAt { get; }

Property Value

DateTime

The date/time the license was issued.

LicenseNumber

Gets the license number.

string LicenseNumber { get; }

Property Value

string

The license number.

ProductID

Gets the product ID.

string ProductID { get; }

Property Value

string

The product ID.

ProductName

Gets the product name.

string ProductName { get; }

Property Value

string

The product name.

ProductVersion

Gets the product version.

string ProductVersion { get; }

Property Value

string

The product version.

Methods

HasExpired()

Indicates whether the license has expired.

bool HasExpired()

Returns

bool

true if the license has expired; otherwise false.

IsLicenseProvided()

Indicates whether a license is provided.

bool IsLicenseProvided()

Returns

bool

true if a license is provided; otherwise false.

IsLicensed()

Indicates whether the product is licensed.

bool IsLicensed()

Returns

bool

true if licensed; otherwise false.