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 |
|
IsLicenseProvided()
Indicates whether a license is provided.
Declaration
bool IsLicenseProvided()
Returns
| Type | Description |
|---|---|
| bool |
|
IsLicensed()
Indicates whether the product is licensed.
Declaration
bool IsLicensed()
Returns
| Type | Description |
|---|---|
| bool |
|