OpenResourceInfo Class |
Namespace: Alphaleonis.Win32.Network
The OpenResourceInfo type exposes the following members.
Name | Description | |
---|---|---|
Host | The local or remote Host. | |
Id | The identification number assigned to the resource when it is opened. | |
PathName | The path of the opened resource. | |
Permissions | The access permissions associated with the opening application. This member can be one or more of the following AccessPermissions values. | |
TotalLocks | The number of file locks on the file, device, or pipe. | |
UserName | Specifies which user (on servers that have user-level security) or which computer (on servers that have share-level security) opened the resource. |
Name | Description | |
---|---|---|
Close | Forces the open resource to close. | |
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.) |