Dela via


TetheringWiFiBand Enum

Definition

Defines constants that specify a wireless frequency band for a WiFi adapter.

public enum class TetheringWiFiBand
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 655360)]
enum class TetheringWiFiBand
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 655360)]
public enum TetheringWiFiBand
var value = Windows.Networking.NetworkOperators.TetheringWiFiBand.auto
Public Enum TetheringWiFiBand
Inheritance
TetheringWiFiBand
Attributes

Windows requirements

Device family
Windows 10, version 2004 (introduced in 10.0.19041.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v10.0)
App capabilities
wiFiControl

Fields

Name Value Description
Auto 0

Specifies that the WiFi adapter is free to choose any band per internal logic.

TwoPointFourGigahertz 1

Specifies that the WiFi adapter should use only the 2.4 GHz band.

FiveGigahertz 2

Specifies that the WiFi adapter should use only the 5 GHz band.

SixGigahertz 3

Specifies that the WiFi adapter should use only the 6 GHz band.

Applies to