device.setAuthority

void device.setAuthority(String authority)

Assigns a string value to device.authority

Params

parameter type description
authority String A string in the format <ip>:<port> used to identify a device

Output

None

Examples

string deviceId = "10.10.10.10:80"
Device device = new Device();
device.setAuthority(deviceId);

Console.WriteLine(device.authority);