How I can read Serial number from a Windows mobile and WinCE mobile device using C#?
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#.