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
trueif the license has expired; otherwisefalse.
IsLicenseProvided()
Indicates whether a license is provided.
bool IsLicenseProvided()
Returns
- bool
trueif a license is provided; otherwisefalse.
IsLicensed()
Indicates whether the product is licensed.
bool IsLicensed()
Returns
- bool
trueif licensed; otherwisefalse.