ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Network Adaptors

Hi There,

 

Is there any way to programmatically populate a list of a PC's Network Adaptors?

 

For example, the attached screenshot shows my PC's network adaptors.  Could I programmatically get LV to report the "Local Area Connection 3" and "Local Area Connection 4" strings.

 

Or, even better, the Device Name strings?

 

Many Thanks,

Dan

Dan
CLD
0 Kudos
Message 1 of 4
(3,864 Views)

Those aren't the network adapters. Those are network connections.

 

See here: http://www.eggheadcafe.com/software/aspnet/29220319/how-to-get-connection-name-or-how-to-setup-netwo...

0 Kudos
Message 2 of 4
(3,838 Views)

 

I use DevCon to find network adaptors on a system.

Then ipconfig to match network adaptors to IP address.

 

 

Omar
0 Kudos
Message 3 of 4
(3,832 Views)

Here is an example that uses .NET to retrieve this type of information.

 

Yes, I know that .NET is large and bloated and someone will complain, but it should work for you...

 

 

Message 4 of 4
(3,803 Views)