Class Licensing
A place for functions related to SDS2 licensing.
Inheritance
System.Object
Licensing
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: DesignData.SDS2.Database
Assembly: DesignData.SDS2.Database.dll
Syntax
public class Licensing
Properties
IsLicensed
Returns true if the user has a valid license to run the API
Declaration
public static bool IsLicensed { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
Finalize()
Declaration
protected void Finalize()
GetIsLicensed()
Returns true if the user has a valid license to run the API
Declaration
public static bool GetIsLicensed()
Returns
Type | Description |
---|---|
System.Boolean |
HasFeature(LicenseFeatures)
Returns true if the user has a valid license to run the given API feature
Declaration
public static bool HasFeature(LicenseFeatures feature)
Parameters
Type | Name | Description |
---|---|---|
LicenseFeatures | feature |
Returns
Type | Description |
---|---|
System.Boolean | The API feature to be checked. |