Skip to main content

Class WiFiNetworkAdapter

Represents WiFi network adapter

Assembly: Meadow.dll
View Source
Declaration
public class WiFiNetworkAdapter : NetworkAdapterBase, IWirelessNetworkAdapter, INetworkAdapter

Inheritance: System.Object -> Meadow.NetworkAdapterBase

Implements:
Meadow.Hardware.IWirelessNetworkAdapter

Properties

IsConnected

Returns true if the adapter is connected, otherwise false

View Source
Declaration
public override bool IsConnected { get; }

CurrentAntenna

Returns the current Antenna type

View Source
Declaration
public AntennaType CurrentAntenna { get; }

Methods

SetAntenna(AntennaType, bool)

Sets the current antenna type used by the adapter

View Source
Declaration
public void SetAntenna(AntennaType antenna, bool persist = true)
Parameters
TypeNameDescription
Meadow.Hardware.AntennaTypeantennaThe antenna type to use
System.BooleanpersistWhether or not the type should persist across OS restarts
Exceptions

System.NotImplementedException

Implements