![]() |
LicenseSpring Management .Net SDK 1.15.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.
| |||||||
| DateTime | BorrowDevice (ulong deviceId, DateTime? borrowUntil=null) | ||||||
Borrow a single Device if requesting manager has access permissions to it.
| |||||||
| DeviceVariable | CreateDeviceVariable (CreateDeviceVariableDto dto) | ||||||
Creates a new device variable.
| |||||||
| string | DeleteDeviceVariable (uint variableId) | ||||||
Deletes device variable.
| |||||||
| Device[] | ListDevices (ListDevicesRequestDto dto, out uint Count) | ||||||
Returns all devices.
| |||||||
| DeviceVariable[] | ListDeviceVariables (ListDeviceVariablesRequestDto dto, out uint count) | ||||||
Returns all device variables.
| |||||||
| string | ResetDevice (ulong deviceId) | ||||||
Reset a single Device if requesting manager has access permissions to it.
| |||||||
| DeviceVariable | UpdateDeviceVariable (CreateDeviceVariableDto dto, uint variableId) | ||||||
Updates device variable.
| |||||||
Public Member Functions inherited from LicenseSpring.BaseService | |||||||
| void | Initialize (ManagementConfiguration configuration) | ||||||
Initialize management service with given configuration.
| |||||||
| bool | IsInitialized () | ||||||
Check whether management service has been initialized.
| |||||||
| bool | IsOnline (bool throwExceptions=false) | ||||||
Helper method, it checks connection to the LicenseSpring platform.
| |||||||
Implements IDeviceService interface.
| string LicenseSpring.DeviceService.BlacklistDevice | ( | ulong | deviceId | ) |
Blacklist a single Device if requesting manager has access permissions to it.
| deviceId | The Id of the device that will be blacklisted. |
Implements LicenseSpring.IDeviceService.
| DateTime LicenseSpring.DeviceService.BorrowDevice | ( | ulong | deviceId, |
| DateTime? | borrowUntil = null |
||
| ) |
Borrow a single Device if requesting manager has access permissions to it.
| deviceId | The Id of the device that will be borrowed. |
| borrowUntil | DateTime until which device will be borrowed.Set null as a value if you want to manually return the borrowed license. |
Implements LicenseSpring.IDeviceService.
| DeviceVariable LicenseSpring.DeviceService.CreateDeviceVariable | ( | CreateDeviceVariableDto | dto | ) |
Creates a new device variable.
| dto | Dto with information about new device variable. |
Implements LicenseSpring.IDeviceService.
| string LicenseSpring.DeviceService.DeleteDeviceVariable | ( | uint | variableId | ) |
Deletes device variable.
| variableId | The Id of the device variable that will be deleted. |
Implements LicenseSpring.IDeviceService.
| Device[] LicenseSpring.DeviceService.ListDevices | ( | ListDevicesRequestDto | dto, |
| out uint | Count | ||
| ) |
Returns all devices.
| dto | Data transfer object that is used for searching through all devices. |
| count | Quantity of devices, use for iteration of the result pages. |
Implements LicenseSpring.IDeviceService.
| DeviceVariable[] LicenseSpring.DeviceService.ListDeviceVariables | ( | ListDeviceVariablesRequestDto | dto, |
| out uint | count | ||
| ) |
Returns all device variables.
| dto | Data transfer object that is used for searching through device variables. |
| count | Quantity of variables, use for iteration of the result pages. |
Implements LicenseSpring.IDeviceService.
| string LicenseSpring.DeviceService.ResetDevice | ( | ulong | deviceId | ) |
Reset a single Device if requesting manager has access permissions to it.
| deviceId | The Id of the device that will be reset. |
Implements LicenseSpring.IDeviceService.
| DeviceVariable LicenseSpring.DeviceService.UpdateDeviceVariable | ( | CreateDeviceVariableDto | dto, |
| uint | variableId | ||
| ) |
Updates device variable.
| dto | Dto with information about device variable that will be updated. |
| variableId | The Id of the device variable that will be updated. |
Implements LicenseSpring.IDeviceService.