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

c#, mobile, windows-ce, windows-mobile

Solution

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#.

Problem

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

Original source