Determine which Windows device is being used to connect to the network
Applies To: Windows 8, Windows 8.1
The Windows device ID for the network adapter is exposed by the DeviceId property of the current network device object for the account.
For example:
account.currentDeviceInformation.deviceId