Show / Hide Table of Contents

Interface ILicense

Provides license information.

Namespace: ComponentSpace.Saml2.Licensing
Assembly: ComponentSpace.Saml2.dll
Syntax
public interface ILicense

Properties

CustomerID

Gets the customer ID.

Declaration
string CustomerID { get; }
Property Value
Type Description
string

The customer ID.

Expiry

Gets the date/time the license expires.

Declaration
DateTime Expiry { get; }
Property Value
Type Description
DateTime

The date/time the license expires.

IssuedAt

Gets the date/time the license was issued.

Declaration
DateTime IssuedAt { get; }
Property Value
Type Description
DateTime

The date/time the license was issued.

LicenseNumber

Gets the license number.

Declaration
string LicenseNumber { get; }
Property Value
Type Description
string

The license number.

ProductID

Gets the product ID.

Declaration
string ProductID { get; }
Property Value
Type Description
string

The product ID.

ProductName

Gets the product name.

Declaration
string ProductName { get; }
Property Value
Type Description
string

The product name.

ProductVersion

Gets the product version.

Declaration
string ProductVersion { get; }
Property Value
Type Description
string

The product version.

Methods

HasExpired()

Indicates whether the license has expired.

Declaration
bool HasExpired()
Returns
Type Description
bool

true if the license has expired; otherwise false.

IsLicenseProvided()

Indicates whether a license is provided.

Declaration
bool IsLicenseProvided()
Returns
Type Description
bool

true if a license is provided; otherwise false.

IsLicensed()

Indicates whether the product is licensed.

Declaration
bool IsLicensed()
Returns
Type Description
bool

true if licensed; otherwise false.

In this article
Back to top Copyright © ComponentSpace Pty Ltd 2017-2026. All rights reserved.