HostEnumerateShares Method |
Enumerates Server Message Block (SMB) shares from the local host.
Namespace:
Alphaleonis.Win32.Network
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static IEnumerable<ShareInfo> EnumerateShares()
Public Shared Function EnumerateShares As IEnumerable(Of ShareInfo)
public:
static IEnumerable<ShareInfo^>^ EnumerateShares()
static member EnumerateShares : unit -> IEnumerable<ShareInfo>
Return Value
Type:
IEnumerableShareInfoIEnumerableT shares from the specified host.
Remarks This method also enumerates hidden shares.
See Also