views:

327

answers:

1

Hi

how I can get the Serial number and the ID number from Windows mobile ?

I need it in C#

thank's

+5  A: 

There's no way to get a device's actual serial number programmatically. There's no standard API for it, and I've seen very few that even had proprietary calls for it.

To get the device's unique ID, you're probably going to want to P/Invoke GetDeviceUniqueID which is in the Get Device ID Sample in the SDK and was ported to C# by the WinMo team.

ctacke