How to get mobile device GUID?

0

1

I need to have a mobile device ID for usage as a command line parameter. What are ways in Windows to retrieve it that do not involve writing your own program for that?

Srv19

Posted 2011-10-14T10:51:16.480

Reputation: 199

Answers

1

This is your answer. There is a sample code which you can download and see how it works.

v01d

Posted 2011-10-14T10:51:16.480

Reputation: 186

Well, duh. Guess why i asked "ways that do NOT involve writing your own program"? – Srv19 – 2011-10-14T13:11:32.250

Ok.Try [this] http://marcusperryman.members.winisp.net/BlogStuff/CallGetDeviceUniqueID.zip link to see if it works for you. Otherwise i'll compile the sample from microsoft for you, but it will be in one or two days, since i don't have access to windows pc right now.

– v01d – 2011-10-14T13:16:33.893

It worked. Though, i was hoping there exists a standard tool/utilite that allows to get this. If i wanted to make a program, i'd have used StackOverflow. – Srv19 – 2011-10-14T13:23:55.237

So this is a just a compiled sample that uses the microsoft api, so you can use it freely and you can check the source code to be sure exactly what it does. – v01d – 2011-10-14T13:26:45.277

I knew that after i saw VS 2010 solution files. ) – Srv19 – 2011-10-14T13:31:23.860

Smae, though, that ActiveSync does not expose GUID. – Srv19 – 2011-10-14T13:31:51.520