We help IT Professionals succeed at work.

Physical location of network adapter

alconlabs
alconlabs asked
on
If I open Device Manager and select the properties of a network adapter, a dialog appears.  The General tab of this dialog includes a field titled Location.  How do I access this field from a x64 C# application running in x64 Windows 7?

Thanks,

David
Comment
Watch Question

Senior software engineer
CERTIFIED EXPERT
Commented:
Registry solution :
- Loop through the keys into HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\PCI
- Into each of them, goto the first key (only key) and using one of the values to ensure that it is the card you want to check (like DeviceDesc) then within that key look for LocationInformation value.

Explore More ContentExplore courses, solutions, and other research materials related to this topic.