Class WiFiNetworkAdapter
Represents WiFi network adapter
Assembly: Meadow.dll
View Source
public class WiFiNetworkAdapter : NetworkAdapterBase, IWirelessNetworkAdapter, INetworkAdapter
Inheritance: System.Object
-> Meadow.NetworkAdapterBase
Implements:
Meadow.Hardware.IWirelessNetworkAdapter, Meadow.Hardware.INetworkAdapter
Properties
IsConnected
Returns true
if the adapter is connected, otherwise false
View Source
public override bool IsConnected { get; }
CurrentAntenna
Returns the current Antenna type
View Source
public AntennaType CurrentAntenna { get; }
Methods
SetAntenna(AntennaType, bool)
Sets the current antenna type used by the adapter
View Source
public void SetAntenna(AntennaType antenna, bool persist = true)
Parameters
Type | Name | Description |
---|---|---|
Meadow.Hardware.AntennaType | antenna | The antenna type to use |
System.Boolean | persist | Whether or not the type should persist across OS restarts |
Exceptions
System.NotImplementedException