How do i get the name of the network card in C#?
How to get the name of the network card
Collapse
This topic is closed.
X
X
-
MishaTags: None
-
Nicholas Paldino [.NET/C# MVP]
Re: How to get the name of the network card
Misha,
I would use the classes in the System.Manageme nt namespace to access the
WMI providers for the network adapter. Basically, you want to do a query
for the Win32_NetworkAd apter instance which corresponds to the adapter.
Then, you can get the NetConnectionID property which will give you the
display name for that adapter.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard. caspershouse.co m
"Misha" <m_Seldin@mail. ru> wrote in message
news:31c282bb.0 310220702.f739c c2@posting.goog le.com...[color=blue]
> How do i get the name of the network card in C#?[/color]
Comment