C# Class System.Net.NetworkInformation.SystemNetworkInterface

Inheritance: NetworkInterface
Datei anzeigen Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description
GetBestInterfaceForAddress int
GetNetworkInterfaces System.Net.NetworkInformation.NetworkInterface[]
InternalGetIsNetworkAvailable bool
SystemNetworkInterface Microsoft.Win32.SafeHandles

Public Methods

Method Description
GetIPProperties ( ) : IPInterfaceProperties
GetIPStatistics ( ) : System.Net.NetworkInformation.IPInterfaceStatistics
GetIPv4Statistics ( ) : IPv4InterfaceStatistics
GetPhysicalAddress ( ) : System.Net.NetworkInformation.PhysicalAddress
Supports ( NetworkInterfaceComponent networkInterfaceComponent ) : bool

Private Methods

Method Description
GetBestInterfaceForAddress ( IPAddress addr ) : int
GetNetworkInterfaces ( ) : System.Net.NetworkInformation.NetworkInterface[]
InternalGetIsNetworkAvailable ( ) : bool
SystemNetworkInterface ( System.Net.Interop fixedInfo, System.Net.Interop ipAdapterAddresses ) : Microsoft.Win32.SafeHandles

Method Details

GetIPProperties() public method

public GetIPProperties ( ) : IPInterfaceProperties
return IPInterfaceProperties

GetIPStatistics() public method

public GetIPStatistics ( ) : System.Net.NetworkInformation.IPInterfaceStatistics
return System.Net.NetworkInformation.IPInterfaceStatistics

GetIPv4Statistics() public method

public GetIPv4Statistics ( ) : IPv4InterfaceStatistics
return IPv4InterfaceStatistics

GetPhysicalAddress() public method

public GetPhysicalAddress ( ) : System.Net.NetworkInformation.PhysicalAddress
return System.Net.NetworkInformation.PhysicalAddress

Supports() public method

public Supports ( NetworkInterfaceComponent networkInterfaceComponent ) : bool
networkInterfaceComponent NetworkInterfaceComponent
return bool