Yes, u can't create an instance of this class.
You need to use, for example, the following:
WiFiAdapter wiFiAdapter = WiFiAdapter.FindAllAdaptersAsync().GetResults().First();
- Get all WiFi-Adapter of the system
- Get the first one which is a instance of a WiFiAdapter
Or you could use this approach to iterate through each adapter and perform a specific action:
private async void WiFiAdapterSample()
{
var systemsWiFiAdapter = await WiFiAdapter.FindAllAdaptersAsync();
foreach (var wifiAdapter in systemsWiFiAdapter)
{
}
}