![]() |
LicenseSpring Management .Net SDK 1.9.0
Easily add Software Licensing to your application
|
Implements IDeviceService
interface
More...
Public Member Functions | |
string | BlacklistDevice (ulong deviceId) |
Blacklist a single Device if requesting manager has access permissions to it. More... | |
DateTime | BorrowDevice (ulong deviceId, DateTime? borrowUntil=null) |
Borrow a single Device if requesting manager has access permissions to it. More... | |
DeviceVariable | CreateDeviceVariable (CreateDeviceVariableDto dto) |
Creates a new device variable. More... | |
string | DeleteDeviceVariable (uint variableId) |
Deletes device variable. More... | |
Device[] | ListDevices (ListDevicesRequestDto dto, out uint Count) |
Returns all devices. More... | |
DeviceVariable[] | ListDeviceVariables (ListDeviceVariablesRequestDto dto, out uint count) |
Returns all device variables. More... | |
string | ResetDevice (ulong deviceId) |
Reset a single Device if requesting manager has access permissions to it. More... | |
DeviceVariable | UpdateDeviceVariable (CreateDeviceVariableDto dto, uint variableId) |
Updates device variable. More... | |
![]() | |
void | Initialize (ManagementConfiguration configuration) |
Initialize management service with given configuration More... | |
bool | IsInitialized () |
Check whether management service has been initialized More... | |
bool | IsOnline (bool throwExceptions=false) |
Helper method, it checks connection to the LicenseSpring platform. More... | |
void | Initialize (ManagementConfiguration configuration) |
Initialize management service with given configuration More... | |
bool | IsInitialized () |
Check whether management service has been initialized More... | |
bool | IsOnline (bool throwExceptions=false) |
Helper method, it checks connection to the LicenseSpring platform. More... | |
string | BlacklistDevice (ulong deviceId) |
Blacklist a single Device if requesting manager has access permissions to it. More... | |
DateTime | BorrowDevice (ulong deviceId, DateTime? borrowUntil) |
Borrow a single Device if requesting manager has access permissions to it. More... | |
DeviceVariable | CreateDeviceVariable (CreateDeviceVariableDto dto) |
Creates a new device variable. More... | |
string | DeleteDeviceVariable (uint variableId) |
Deletes device variable. More... | |
Device[] | ListDevices (ListDevicesRequestDto dto, out uint count) |
Returns all devices. More... | |
DeviceVariable[] | ListDeviceVariables (ListDeviceVariablesRequestDto dto, out uint count) |
Returns all device variables. More... | |
string | ResetDevice (ulong deviceId) |
Reset a single Device if requesting manager has access permissions to it. More... | |
DeviceVariable | UpdateDeviceVariable (CreateDeviceVariableDto dto, uint variableId) |
Updates device variable. More... | |
Implements IDeviceService
interface
string LicenseSpring.DeviceService.BlacklistDevice | ( | ulong | deviceId | ) |
Blacklist a single Device if requesting manager has access permissions to it.
Implements LicenseSpring.IDeviceService.
DateTime LicenseSpring.DeviceService.BorrowDevice | ( | ulong | deviceId, |
DateTime? | borrowUntil = null |
||
) |
Borrow a single Device if requesting manager has access permissions to it.
Implements LicenseSpring.IDeviceService.
DeviceVariable LicenseSpring.DeviceService.CreateDeviceVariable | ( | CreateDeviceVariableDto | dto | ) |
Creates a new device variable.
Implements LicenseSpring.IDeviceService.
string LicenseSpring.DeviceService.DeleteDeviceVariable | ( | uint | variableId | ) |
Deletes device variable.
Implements LicenseSpring.IDeviceService.
Device[] LicenseSpring.DeviceService.ListDevices | ( | ListDevicesRequestDto | dto, |
out uint | Count | ||
) |
Returns all devices.
Implements LicenseSpring.IDeviceService.
DeviceVariable[] LicenseSpring.DeviceService.ListDeviceVariables | ( | ListDeviceVariablesRequestDto | dto, |
out uint | count | ||
) |
Returns all device variables.
Implements LicenseSpring.IDeviceService.
string LicenseSpring.DeviceService.ResetDevice | ( | ulong | deviceId | ) |
Reset a single Device if requesting manager has access permissions to it.
Implements LicenseSpring.IDeviceService.
DeviceVariable LicenseSpring.DeviceService.UpdateDeviceVariable | ( | CreateDeviceVariableDto | dto, |
uint | variableId | ||
) |
Updates device variable.
Implements LicenseSpring.IDeviceService.