OpenConnectionInfo Class |
Namespace: Alphaleonis.Win32.Network
The OpenConnectionInfo type exposes the following members.
Name | Description | |
---|---|---|
ConnectedSeconds | Specifies the number of seconds that the connection has been established. | |
Host | The local or remote Host. | |
Id | Specifies a connection identification number. | |
NetName | 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. | |
ShareType | The type of share. | |
TotalOpenFiles | Specifies the number of files currently open as a result of the connection. | |
TotalUsers | Specifies the number of users on the connection. | |
UserName | 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. |
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns the full path to the share. (Overrides ObjectToString.) |