iikoFront Api V8 Code Reference
iikoFront Api V8 Code Reference
Resto.Front.Api
ILicensingService Interface
ILicensingService Methods
AcquireSlot Method
IsEnabled Method

# ILicensingService IsEnabled Method

Checks whether the specified module is enabled in the license.

Namespace: Resto.Front.Api
Assembly: Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll) Version: 1ca4876affdd3bc5359a98b321fc115a647d2251
Syntax
C#
Copy

    bool IsEnabled(
    	int moduleId
    )

#### Parameters

moduleId
  Type: System
  Int32
  The licensable module identifier.

#### Return Value

Type: Boolean
true if the specified module is enabled.
Remarks
Module is enabled when there is an active (not expired) license for this module. This method just checks if the module itself is enabled, it doesn't check whether the module contains any available slots.
See Also

#### Reference

ILicensingService Interface
Resto.Front.Api Namespace