Click here to Skip to main content
16,019,589 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
I'm working on a C# .NET Framework Application. I've to get Information about Wifi like
  • Wifi SSID
  • Wifi SSID Mac
  • Wifi Local IP
  • Wifi DNS1 and DNS2
  • Wifi External IP
  • Wifi DHCP Server
  • Wifi Gateway
  • Wifi Link Speed
etc

Is there any modern C# API available for windows?

What I have tried:

There are few APIs available for .NET but complex to use and they are not providing all the required information in a clean manner.

Like this is a Windows 10 Wifi API for C#. As it based on .NET Core and I'm working on .NET Framework.
Posted
Updated 3-Jul-18 5:14am
v2
Comments
Richard Deeming 3-Jul-18 11:14am    
I've removed the link to the paid-for API, since that could be seen as spam.

I've found the solution.
using WifiAdapter class in UWP, you can get all the necessary information using C# in UWP.

here is the complete guide to use this class.
 
Share this answer
 
 
Share this answer
 
Comments
Ammar Shaukat 6-Jun-18 3:50am    
This is good but this is not for C#.
Richard MacCutchan 6-Jun-18 3:56am    
Did you actually read the article? The code sample is C#.
Dave Kreskowiak 6-Jun-18 8:11am    
SMH
Ammar Shaukat 6-Jun-18 4:17am    
Okay... It's fine.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900