HostEnumerateNetworks Method (NetworkConnectivityLevels) |
[AlphaFS] Returns an enumerable collection of networks available on the local host.
Namespace:
Alphaleonis.Win32.Network
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static IEnumerable<NetworkInfo> EnumerateNetworks(
NetworkConnectivityLevels networkConnectivityLevels
)
Public Shared Function EnumerateNetworks (
networkConnectivityLevels As NetworkConnectivityLevels
) As IEnumerable(Of NetworkInfo)
public:
static IEnumerable<NetworkInfo^>^ EnumerateNetworks(
NetworkConnectivityLevels networkConnectivityLevels
)
static member EnumerateNetworks :
networkConnectivityLevels : NetworkConnectivityLevels -> IEnumerable<NetworkInfo>
Parameters
- networkConnectivityLevels
- Type: Alphaleonis.Win32.NetworkNetworkConnectivityLevels
The NetworkConnectivityLevels that specify the connectivity level of the returned NetworkInfo instances.
Return Value
Type:
IEnumerableNetworkInfoAn
IEnumerableT collection of networks on the local host, as specified by
networkConnectivityLevels.
See Also