Re: find device location



1) Slot number
win32_networkadapter has DeviceID and PNPDeviceID

2) Device number

Device number you can get from above. For device bus number use
win32_devicebus class. You can specifically check for the PNPDeviceID which
is the key.

3) Function number
I am not sure what you mean here and how to find.

Thanks,
Manbinder Pal Singh

This posting is provided "AS IS" with no warranties, and confers no rights.


"Satyakumar" <Satyakumar@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3373CDF7-99C0-45CF-AF74-2EF476E10070@xxxxxxxxxxxxxxxx
Thanks for the reply.
I looked at those classes already, but could not find the exact
properties.

I need the following three properties.

1) Slot number
2) Device number
3) Function number



"Manbinder Pal Singh [MSFT]" wrote:

See win32_networkadapter
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/win32_networkadapter.asp
and win32_networkadapterconfiguration classes. They have properties which
might address your issue.

Thanks,
Manbinder Pal Singh

This posting is provided "AS IS" with no warranties, and confers no
rights.

"Satyakumar" <Satyakumar@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:85156999-685B-48F4-A17A-87F4E6921758@xxxxxxxxxxxxxxxx
How to findout device bus number, device number and function number
using
WMI
classes?
I need this information for a NetworkCard. I could not find this info
when
listed Win32_NetworkCard.





.



Relevant Pages


Loading