WiFiNetworkKind Enum

Definition

Note

Some information relates to pre-released product, which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Important

This API will be affected by upcoming changes to operating system behavior, planned for fall 2024. For more info, see Changes to API behavior for Wi-Fi access and location.

Describes the kinds of Wi-Fi networks.

public enum class WiFiNetworkKind
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class WiFiNetworkKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum WiFiNetworkKind
var value = Windows.Devices.WiFi.WiFiNetworkKind.any
Public Enum WiFiNetworkKind
Inheritance
WiFiNetworkKind
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Adhoc 2

An independent (IBSS) network.

Any 0

Either an infrastructure or independent network.

Infrastructure 1

An infrastructure network.

Applies to