Overview
The WiFiNetworkKind enumeration defines the different types of Wi-Fi networks that a Universal Windows Platform (UWP) app can connect to. This enumeration is part of the UWP.Devices.WiFiNetworkKind NuGet package.
Values
-
PublicRepresents a public Wi-Fi network that is available to anyone.
-
PrivateRepresents a private Wi-Fi network, such as a corporate Wi-Fi network.
-
EnterpriseRepresents an enterprise Wi-Fi network. This value is typically used for corporate networks.
Code Examples
public enum WiFiNetworkKind {
Public,
Private,
Enterprise
}
This enumeration can be used in your UWP application to determine the type of Wi-Fi network that is available.