WiFiAvailableNetwork Class
Definition
Describes an available Wi-Fi network.
public ref class WiFiAvailableNetwork sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.DualApiPartition(version=167772160)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class WiFiAvailableNetwork final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.DualApiPartition(version=167772160)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class WiFiAvailableNetwork
Public NotInheritable Class WiFiAvailableNetwork
- Inheritance
-
WiFiAvailableNetwork
- Attributes
Windows 10 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)
|
Remarks
You do not instantiate objects of this class directly. The system creates instances of this object in as part of the process of scanning for networks and raising the WiFiAdapter.AvailableNetworksChanged event. You can initiate a network scan using the WiFiAdapter.FindAllAdaptersAsync static method or the WiFiAdapter.ScanAsync method on a particular adapter. You can also retrieve the list of networks from the results of the most current scan from a given Wi-Fi adapter by getting the AvailableNetworks property of the WiFiAdapter.NetworkReport.
Properties
BeaconInterval |
Gets the interval between 802.11 Beacon frames used by this network. |
Bssid |
Gets the MAC address of the access point. |
ChannelCenterFrequencyInKilohertz |
Gets the channel center frequency of the band on which the 802.11 Beacon or Probe Response was received. |
IsWiFiDirect |
Gets a value indicating whether this network originates from a Wi-Fi Direct access point. |
NetworkKind |
Gets a value describing the kind of network being described. |
NetworkRssiInDecibelMilliwatts |
Gets the signal strength of the network. |
PhyKind |
Gets a value describing the kind of PHY used by this network. |
SecuritySettings |
Gets the security configuration of the network. |
SignalBars |
Gets the strength of the signal as a number of bars. |
Ssid |
Gets the SSID (name) of the network. |
Uptime |
Gets the uptime value reported by the network. |