Skip to main content

NetworkInterfaceProperties Class

Namespace: GHIElectronics.TinyCLR.Devices.Network · Assembly: GHIElectronics.TinyCLR.Devices.Network

Common interface properties. Cast via GetEthernetProperties / GetWiFiProperties / GetPppProperties for transport-specific fields.

public class NetworkInterfaceProperties

Properties

MacAddress

public byte[] MacAddress { get; }

The interface's MAC address (6 bytes for Ethernet/WiFi).

Methods

GetEthernetProperties()

public EthernetNetworkInterfaceProperties GetEthernetProperties()

Returns Ethernet-specific properties, or null if this is not an Ethernet interface.

Returns EthernetNetworkInterfaceProperties

GetWiFiProperties()

public WiFiNetworkInterfaceProperties GetWiFiProperties()

Returns WiFi-specific properties, or null if this is not a WiFi interface.

Returns WiFiNetworkInterfaceProperties

GetPppProperties()

public PppNetworkInterfaceProperties GetPppProperties()

Returns PPP-specific properties, or null if this is not a PPP interface.

Returns PppNetworkInterfaceProperties