For Windows apps, does DeviceInformation.Id
remain the same between app open/close, system reboots, device disconnect/reconnect, etc.? Can it be used to store "known" devices?
I tested it with DeviceInformation.FindAllAsync()
and recorded the Id of several devices. After restarting the computer, their Id did not change.
I looked up the documentation for DeviceInformation
and can tell that the Id is immutable. This is the documentation. Since Id is used as a credential for device information reuse, it is reliable.
Best regards.