Click or drag to resize

NetworkInfo Class

Represents a network on the local machine. It can also represent a collection of network connections with a similar network signature.
Inheritance Hierarchy
SystemObject
  Alphaleonis.Win32.NetworkNetworkInfo

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

The NetworkInfo type exposes the following members.

Properties
  NameDescription
Public propertyCategory
Gets the category of a network. The categories are trusted, untrusted, or authenticated. This value of this property is not cached.
Public propertyConnections
Gets the network connections for the network. This value of this property is not cached.
Public propertyConnectionTime
Gets the local date and time when the network was connected. This value of this property is not cached.
Public propertyConnectionTimeUtc
Gets the date and time when the network was connected. This value of this property is not cached.
Public propertyConnectivity
Gets the connectivity state of the network. This value of this property is not cached.
Public propertyCreationTime
Gets the local date and time when the network was created. This value of this property is not cached.
Public propertyCreationTimeUtc
Gets the date and time when the network was created. This value of this property is not cached.
Public propertyDescription
Gets a description for the network. This value of this property is not cached.
Public propertyDomainType
Gets the domain type of the network. This value of this property is not cached.
Public propertyIsConnected
Gets a value that indicates whether there is network connectivity. This value of this property is not cached.
Public propertyIsConnectedToInternet
Gets a value that indicates whether there is Internet connectivity. This value of this property is not cached.
Public propertyName
Gets the name of the network. This value of this property is not cached.
Public propertyNetworkId
Gets a unique identifier for the network. 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