Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
 NetworkInterface Members
Collapse All/Expand All Collapse All
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
NetworkInterface Members

Provides configuration and statistical information for a network interface.

The NetworkInterface type exposes the following members.

  NameDescription
Protected methodNetworkInterfaceInitializes a new instance of the NetworkInterface class.
Top
  NameDescription
Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodStatic memberGetAllNetworkInterfacesReturns objects that describe the network interfaces on the local computer.
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetIPPropertiesReturns an object that describes the configuration of this network interface.
Public methodGetIPv4StatisticsGets the IPv4 statistics.
Public methodStatic memberGetIsNetworkAvailableIndicates whether any network connection is available.
Public methodGetPhysicalAddressReturns the Media Access Control (MAC) or physical address for this adapter.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupportsGets a Boolean value that indicates whether the interface supports the specified protocol.
Public methodToStringReturns a String that represents the current Object. (Inherited from Object.)
Top
  NameDescription
Public propertyDescriptionGets the description of the interface.
Public propertyIdGets the identifier of the network adapter.
Public propertyIsReceiveOnlyGets a Boolean value that indicates whether the network interface is set to only receive data packets.
Public propertyStatic memberLoopbackInterfaceIndexGets the index of the IPv4 loopback interface.
Public propertyNameGets the name of the network adapter.
Public propertyNetworkInterfaceTypeGets the interface type.
Public propertyOperationalStatusGets the current operational state of the network connection.
Public propertySpeedGets the speed of the network interface.
Public propertySupportsMulticastGets a Boolean value that indicates whether the network interface is enabled to receive multicast packets.
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker