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,135 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,109 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,103 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...

 

 


Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.

"You are what you don't automate"
Inplaceness is synonymous with insidiousness

Message 4 of 4
(3,074 Views)