Detect available NICs

  dhruvchandna 18:07 02 Jan 2008
Locked

Hi,
I wish to write a program for win xp that will detect the NICs on my system and the associated network name. For example i have a wireless network card and name is "Wireless Network Connection". It should work like the View Network Connections link that we have in Windows XP. Any pointers will be really helpful.

Thanks in advance.

  recap 20:54 02 Jan 2008

There is already a utility that can do this for you: Command Prompt, type in ipconfig /all

This is what I have from doing the above:

C:\Documents and Settings\Administrator>ipconfig /all

Windows IP Configuration

Host Name . . . . . . .: Laptop3
Primary Dns Suffix . .: mydomain.com
Node Type . . . . . . : Hybrid
IP Routing Enabled. . .: No
WINS Proxy Enabled. . . No
DNS Suffix Search List.: mydomain.com

Ethernet adapter Wireless Network Connection:

Connection-specific DNS Suffix . :
Description . : Intel(R) PRO/Wireless 2200BG Network
Connection
Physical Address. : 00-21-F0-18-FE-P3
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . .: 192.168.0.100
Subnet Mask . . .: 255.255.255.0
Default Gateway . : 192.168.0.1
DHCP Server . . : 192.168.0.1
DNS Servers . . . : 192.168.0.1
Lease Obtained. . : 02 January 2008 18:59:41
Lease Expires . . : 09 January 2008 18:59:41

Ethernet adapter Local Area Connection:

Media State . . : Media disconnected
Description . . : Intel(R) PRO/100 VE Network Connection
Physical Address. : 00-11-42-4B-2D-5D

I have edited the above for easy of reading.

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

OnePlus 5 review

Alice Saey's mesmerising animation for Dutch singer Mark Lotterman

iPad Pro 10.5in (2017) review

Comment booster votre iPhone ?