Skip to main content

Interface INetworkAdapter

Base interface for a network adapter

Assembly: Meadow.Contracts.dll
View Source
public interface INetworkAdapter

Properties

Name

Gets the friendly name of the Adapter

View Source
string Name { get; }

IsConnected

Indicate if the network adapter is connected to an access point.

View Source
bool IsConnected { get; }

IpAddress

IP Address of the network adapter.

View Source
IPAddress IpAddress { get; }

SubnetMask

Subnet mask of the adapter.

View Source
IPAddress SubnetMask { get; }

Gateway

Default gateway for the adapter.

View Source
IPAddress Gateway { get; }

MacAddress

Physical (MAC) address of the adapter

View Source
PhysicalAddress MacAddress { get; }

DnsAddresses

DNS Addresses of the network adapter.

View Source
IPAddressCollection DnsAddresses { get; }

Events

NetworkConnected

Event raised when a network is connected

View Source
event NetworkConnectionHandler NetworkConnected
Event Type

Meadow.Hardware.NetworkConnectionHandler

NetworkDisconnected

Event raised when a network is disconnected

View Source
event NetworkDisconnectionHandler NetworkDisconnected
Event Type

Meadow.Hardware.NetworkDisconnectionHandler

NetworkError

Event raised on an unexpected network error.

View Source
event NetworkErrorHandler NetworkError
Event Type

Meadow.Hardware.NetworkErrorHandler