deviceStorage.getDeviceId¶
String deviceStorage.getDeviceId(Device device)
Returns the id of the device
Params¶
| parameter | type | description |
|---|---|---|
| device | Device | An instance of the LinQ class Device |
Output¶
| type | description |
|---|---|
| String | String ID of device (its authority) |
Examples¶
DeviceStorage deviceStorage = new DeviceStorage();
Device device = new Device("10.10.10.10", "80", false, "username", "password");
String deviceId = deviceStorage.getDeviceId(device);
Console.WriteLine(deviceId);