HostEnumerateShares Method |
Enumerates Server Message Block (SMB) shares from the local host.
Namespace: Alphaleonis.Win32.NetworkAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
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:
IEnumerableShareInfoReturns
IEnumerableT shares from the specified host.
See Also