ILicensingServiceAcquireSlot Method |
Acquires one slot from the specified module for client with specified identifier.
This method will temporarily bind slot to the client,
repeated acquisitions from the same module for the same client will return the same slot.
Namespace:
Resto.Front.Api.V4
Assembly:
Resto.Front.Api.V4 (in Resto.Front.Api.V4.dll)
Syntax IDisposable AcquireSlot(
int moduleId,
Guid clientId
)
Parameters
- moduleId
- Type: SystemInt32
The licensable module identifier. - clientId
- Type: SystemGuid
The calling client identifier.
Return Value
Type:
IDisposableA token for single licensing unit (plugin instance or external connection),
disposing it releases slot and unbinds the slot from the client.
Exceptions See Also