Nov 27 2020 09:52 AM
I want to read the serial number of hololens2 device in the development of MRTK. That friend knows the way. Thank you!
Nov 30 2020 02:36 PM - edited Nov 30 2020 02:36 PM
Hi! What exactly are you trying to accomplish with a serial number here?
Identifiers like a serial number are difficult or impossible to get from environments like UWP for security reasons, as these values are can be used to track users across different applications
If you need an identifier for the user, you could generate one on first load and save it to disk, or you could ask the user to sign in! I've worked on projects where the application started with a generated ID, and then attached that ID to the user account once they logged in or created an account.
Dec 07 2020 08:07 PM
Dec 14 2020 05:37 AM
Hi @flaidxu, have a look at this thread : https://stackoverflow.com/questions/12528186/how-do-i-get-a-unique-identifier-for-a-machine-running-...
Note that if your app/dev identifiers change, or if the device is reset, the ID will change.
Dec 14 2020 11:36 AM
That looks like a nice solution! A little further detail about that technique over here.