Delen via


WiFiReconnectionKind 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 whether to automatically reconnect to this network.

public enum class WiFiReconnectionKind
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class WiFiReconnectionKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum WiFiReconnectionKind
var value = Windows.Devices.WiFi.WiFiReconnectionKind.automatic
Public Enum WiFiReconnectionKind
Inheritance
WiFiReconnectionKind
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

Name Value Description
Automatic 0

Reconnect automatically.

Manual 1

Allow user to reconnect manually.

Applies to

See also