Click or drag to resize

ShareInfo Class

Contains information about Server Message Block (SMB) shares. This class cannot be inherited.
Inheritance Hierarchy
SystemObject
  Alphaleonis.Win32.NetworkShareInfo

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

The ShareInfo type exposes the following members.

Properties
  NameDescription
Public propertyCurrentUses
The number of current connections to the resource.
Public propertyDirectoryInfo
The DirectoryInfo instance associated with this share.
Public propertyMaxUses
The maximum number of concurrent connections that the shared resource can accommodate.
Public propertyNetFullPath
Returns the full UNC path to the share.
Public propertyNetName
The name of a shared resource.
Public propertyPassword
The share's password (when the server is running with share-level security).
Public propertyPath
The local path for the shared resource.
Public propertyPermissions
The shared resource's permissions for servers running with share-level security.
Public propertyRemark
An optional comment about the shared resource.
Public propertyResourceType
The type of share resource.
Public propertySecurityDescriptor
Specifies the SECURITY_DESCRIPTOR associated with this share.
Public propertyServerName
A pointer to a string that specifies the DNS or NetBIOS name of the remote server on which the shared resource resides.
Public propertyShareLevel
The structure level for the ShareInfo instance.
Public propertyShareType
The type of share.
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