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.0
Syntax
[SerializableAttribute]
public sealed class OpenConnectionInfo

The OpenConnectionInfo type exposes the following members.

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
Properties
  NameDescription
Public propertyConnectedSeconds
Specifies the number of seconds that the connection has been established.
Public propertyHost
The local or remote Host.
Public propertyId
Specifies a connection identification number.
Public propertyNetName
String that specifies either the share name of the server's shared resource or the computername of the client. The value of this member depends on which name was specified as the qualifier parameter to the NetConnectionEnum 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, coni1_username describes which computer (computername) made the connection.
Top
See Also