Interface IProductLicense
Inherited Members
System.IDisposable.Dispose()
Assembly: Sdl.Common.Licensing.AppSupport.dll
Syntax
public interface IProductLicense : IDisposable
Properties
ExpirationDate
Declaration
DateTime? ExpirationDate { get; }
Property Value
Type |
Description |
System.Nullable<System.DateTime> |
|
IsBorrowed
Declaration
Property Value
Type |
Description |
System.Boolean |
|
IsDemo
Declaration
Property Value
Type |
Description |
System.Boolean |
|
IsLeased
Declaration
Property Value
Type |
Description |
System.Boolean |
|
IsLocal
Declaration
Property Value
Type |
Description |
System.Boolean |
|
IsLoggedIn
Declaration
Property Value
Type |
Description |
System.Boolean |
|
LicenseType
Declaration
Property Value
Type |
Description |
System.Int32 |
|
Status
Declaration
LicenseStatus Status { get; }
Property Value
Methods
CheckIn()
Declaration
CheckOut()
Declaration
GetDaysRemainingOnLicense()
Declaration
int? GetDaysRemainingOnLicense()
Returns
Type |
Description |
System.Nullable<System.Int32> |
|
GetFeatureValue(Int32)
Declaration
string GetFeatureValue(int featureId)
Parameters
Type |
Name |
Description |
System.Int32 |
featureId |
|
Returns
Type |
Description |
System.String |
|
HasFeature(Int32)
Declaration
bool HasFeature(int featureId)
Parameters
Type |
Name |
Description |
System.Int32 |
featureId |
|
Returns
Type |
Description |
System.Boolean |
|
IsFeatureLicensed(Int32)
Declaration
bool IsFeatureLicensed(int featureId)
Parameters
Type |
Name |
Description |
System.Int32 |
featureId |
|
Returns
Type |
Description |
System.Boolean |
|
IsServerRunning()
Declaration
Returns
Type |
Description |
System.Boolean |
|
Extension Methods