In The Hand LtdIn The Hand
NetworkInterface Class
NamespacesInTheHand.Net.NetworkInformationNetworkInterface
.NET Components for Mobility
Provides configuration and statistical information for a network interface.
Declaration Syntax
C#Visual Basic
public sealed class NetworkInterface
Public NotInheritable Class NetworkInterface
Members
All MembersMethodsProperties



IconMemberDescription
Description
Gets the description of the interface.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetAllNetworkInterfaces()()()()
Returns objects that describe the network interfaces on the local computer.

GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetIPProperties()()()()
Returns an object that describes the configuration of this network interface.

GetIPv4Statistics()()()()
Gets the IPv4 statistics.

GetIsNetworkAvailable()()()()
Indicates whether any network connection is available.

GetPhysicalAddress()()()()
Returns the Media Access Control (MAC) address for this adapter.

GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Name
Gets the name of the network adapter.

NetworkInterfaceType
Gets the interface type.

OperationalStatus
Gets the current operational state of the network connection.

Speed
Gets the speed of the network interface.

ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Remarks
This class encapsulates data for network interfaces, also known as adapters, on the local computer. You do not create instances of this class; the GetAllNetworkInterfaces()()()() method returns an array that contains one instance of this class for each network interface on the local computer.
Platforms Supported
Windows Mobile
Windows Mobile Version 5.0 and later
Windows Embedded Compact
Windows CE .NET 4.1 and later
Inheritance Hierarchy
Object
NetworkInterface

Assembly: InTheHand.Net (Module: InTheHand.Net) Version: 7.0.0.0