TetheringWiFiAuthenticationKind Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines constants that specify the wireless authentication algorithm to be used for the Wi-Fi tethering connection.
public enum class TetheringWiFiAuthenticationKind
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 1048576)]
enum class TetheringWiFiAuthenticationKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 1048576)]
public enum TetheringWiFiAuthenticationKind
var value = Windows.Networking.NetworkOperators.TetheringWiFiAuthenticationKind.wpa2
Public Enum TetheringWiFiAuthenticationKind
- Inheritance
-
TetheringWiFiAuthenticationKind
- Attributes
Windows requirements
Device family |
Windows 11, version 24H2 (introduced in 10.0.26100.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v19.0)
|
App capabilities |
wiFiControl
|
Fields
Name | Value | Description |
---|---|---|
Wpa2 | 0 | Specifies that the Wi-Fi adapter should use only the WPA2 authentication kind. Supported by all current hardware. |
Wpa3TransitionMode | 1 | Specifies that the Wi-Fi adapter should choose WPA3 if available; and otherwise will fall back to WPA2 for each individual client/peer connection. This is supported only on hardware that supports WPA3, and it's meant to allow WPA2 clients to also be able to connect to WPA3 hardware. Also known as WPA3 Transitional or WPA3 Transition Mode. |
Wpa3 | 2 | Specifies that the Wi-Fi adapter should use only the WPA3 authentication kind. |
Remarks
Older Wi-Fi adapters don't support WPA3. Call Windows.Networking.NetworkOperators.NetworkOperatorTetheringAccessPointConfiguration.IsAuthenticationKindSupported to find out whether your adapter supports a specific authentication kind.
Use Wpa3TransitionMode to let the adapter automatically fall back to WPA2 if WPA3 is not supported.