Acquires one slot from the specified module for client with specified identifier.
This method will temporarily bind returned slot to the client,
so repeated acquisitions from the same module for the same client will return the same slot.
Namespace: Resto.Front.Api.V3
Assembly: Resto.Front.Api.V3 (in Resto.Front.Api.V3.dll) Version: 4.1.1236.1 (4.1.1236.1)
Syntax
C#
ILicenseSlot AcquireSlot( int moduleId, Guid clientId )
Parameters
- moduleId
- Type: SystemInt32
The licensable module identifier. - clientId
- Type: SystemGuid
The calling client identifier.
Return Value
Type: ILicenseSlotExceptions
Exception | Condition |
---|---|
InsufficientLicenseException | License slot could not be acquired. |
See Also