How to read Serial number from mobile device using C#?

Gold picture Gold · Jun 26, 2009 · Viewed 14.2k times · Source

How I can read Serial number from a Windows mobile and WinCE mobile device using C#?

Answer

Shane Powell picture Shane Powell · Jun 30, 2009

You really shouldn't be using the old KernelIoControl method.

You should use the newer GetDeviceUniqueID API. Here is a blog entry on why to use it and how to use it from C#.