你好,
可以使用smart device framework 来读取序列号。
foreach(var info in DriveInfo.GetDrives())
{
string manufacturer = info.ManufacturerID ?? "[Not available]");
string serial = info.SerialNumber ?? "[Not available]");
}
另外你还可以参考下面的代码:
https://groups.google.com/forum/#!topic/microsoft.public.pocketpc.developer/LNXkC_11OmI
Best regards,
Cole Wu
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to
MSDN Support, feel free to contact MSDNFSF@microsoft.com.