Click or drag to resize

OpenConnectionInfo Class

Contains the identification number of a connection, number of open files, connection time, number of users on the connection, and the type of connection.
Inheritance Hierarchy
SystemObject
  Alphaleonis.Win32.NetworkOpenConnectionInfo

Namespace:  Alphaleonis.Win32.Network
Assembly:  AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax
[SerializableAttribute]
public sealed class OpenConnectionInfo

The OpenConnectionInfo type exposes the following members.

Properties
  NameDescription
Public propertyConnectedSeconds Obsolete.
Specifies the number of seconds that the connection has been established.
Public propertyConnectedTime
Specifies duration that the connection has been established.
Public propertyHost Obsolete.
The local or remote Host.
Public propertyHostName
The host name of this connection information.
Public propertyId
Specifies a connection identification number.
Public propertyNetName
Specifies either the server's shared resource name or the Computer name or IP address of the client. The value of this member depends on which name was specified as the qualifier parameter to the function.
Public propertyShareType
The type of share.
Public propertyTotalOpenFiles
Specifies the number of files currently open as a result of the connection.
Public propertyTotalUsers
Specifies the number of users on the connection.
Public propertyUserName
If the server sharing the resource is running with user-level security, the UserName member describes which user made the connection. If the server is running with share-level security, UserName describes which Computer (Computer name) made the connection.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from 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.
(Inherited from Object.)
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 the full path to the share.
(Overrides ObjectToString.)
Top
See Also