Click or drag to resize

NetworkConnectionInfo Class

Represents a connection to a network.
Inheritance Hierarchy
SystemObject
  Alphaleonis.Win32.NetworkNetworkConnectionInfo

Namespace:  Alphaleonis.Win32.Network
Assembly:  AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax
public class NetworkConnectionInfo

The NetworkConnectionInfo type exposes the following members.

Properties
  NameDescription
Public propertyConnectionId
Gets the unique identifier for this connection. This value of this property is not cached.
Public propertyConnectivity
Gets a value that indicates the connectivity of this connection. This value of this property is not cached.
Public propertyDomainType
Gets a value that indicates whether the network associated with this connection is an Active Directory network and whether the machine has been authenticated by Active Directory. This value of this property is not cached.
Public propertyIsConnected
Gets a value that indicates whether this connection has network connectivity. This value of this property is not cached.
Public propertyIsConnectedToInternet
Gets a value that indicates whether this connection has Internet access. This value of this property is not cached.
Public propertyNetworkInfo
Retrieves an instance that represents the network associated with this connection. This value of this property is not cached.
Public propertyNetworkInterface
Gets the network interface for this connection. This value of this property is not cached.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Overrides ObjectEquals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns storage device as: "VendorId ProductId DeviceType DeviceNumber:PartitionNumber".
(Overrides ObjectToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Implements the operator ==
Public operatorStatic memberInequality
Implements the operator !=
Top
See Also