From: star-italia on 25 Jan 2010 06:35 Hi all, i'd like to know how to get the serial number of a USB drive without using WMI. Possibly the one that doesn't change when you format your drive. Thanks in advance
From: dotNetDave on 25 Jan 2010 14:21 As far as I know you can't... you have to use WMI. David ====================================== David McCarter [Microsoft MVP] www.dotNetTips.com David McCarter''''s .NET Coding Standards available at: http://codingstandards.notlong.com "star-italia" wrote: > Hi all, i'd like to know how to get the serial number of a USB drive without using WMI. > Possibly the one that doesn't change when you format your drive. > > Thanks in advance > . >
From: Colbert Zhou [MSFT] on 27 Jan 2010 04:52 Hello, Here is a nice article about how to get USB serial number in two ways, 1.WMI 2.Windows API http://www.emmet-gray.com/Articles/USB_SerialNumbers.htm Obviously that the WMI approach is more straight and easier. So I also suggest you use the WMI approach. Best regards, Ji Zhou Microsoft Online Community Support
From: star-italia on 27 Jan 2010 07:11 Thank you very much. i'll take a look at it On 27/01/2010 10:52, Colbert Zhou [MSFT] wrote: > Hello, > > Here is a nice article about how to get USB serial number in two ways, > 1.WMI > 2.Windows API > http://www.emmet-gray.com/Articles/USB_SerialNumbers.htm > > Obviously that the WMI approach is more straight and easier. So I also > suggest you use the WMI approach. > > > Best regards, > Ji Zhou > Microsoft Online Community Support >
|
Pages: 1 Prev: Problem with Streets and Trips 2010 sending to GPS Next: Sql server2005 |