Click or drag to resize

OpenResourceInfo Class

Contains the identification number and other pertinent information about files, devices, and pipes. This class cannot be inherited.
Inheritance Hierarchy
SystemObject
  Alphaleonis.Win32.NetworkOpenResourceInfo

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

The OpenResourceInfo type exposes the following members.

Properties
  NameDescription
Public propertyHost Obsolete.
The local or remote Host.
Public propertyHostName
The host name of this resource information.
Public propertyId
The identification number assigned to the resource when it is opened.
Public propertyPathName
The path of the opened resource.
Public propertyPermissions
The access permissions associated with the opening application. This member can be one or more of the following AccessPermissions values.
Public propertyTotalLocks
The number of file locks on the file, device, or pipe.
Public propertyUserName
Specifies which user (on servers that have user-level security) or which computer (on servers that have share-level security) opened the resource.
Top
Methods
  NameDescription
Public methodClose
Forces the open resource to close.
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