Reputation: 65
i m new here in windows development ,any help will be fine for me
Do windows devices have a unique id and if so, what is a simple way to access it via c#?
Upvotes: 0
Views: 249
Reputation: 9434
Yes there is a property called DeviceUniqueId
within the DeviceExtendedProperties class. You could simply retrieve that value as:
DeviceExtendedProperties.GetValue("DeviceUniqueId")
For more:
Upvotes: 1