WiFiAvailableNetwork
WiFiAvailableNetwork
WiFiAvailableNetwork
WiFiAvailableNetwork
Class
Definition
Describes an available Wi-Fi network.
public : sealed class WiFiAvailableNetwork : IWiFiAvailableNetworkpublic sealed class WiFiAvailableNetwork : IWiFiAvailableNetworkPublic NotInheritable Class WiFiAvailableNetwork Implements IWiFiAvailableNetwork// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
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 BeaconInterval BeaconInterval BeaconInterval
Gets the interval between 802.11 Beacon frames used by this network.
public : TimeSpan BeaconInterval { get; }public TimeSpan BeaconInterval { get; }Public ReadOnly Property BeaconInterval As TimeSpan// You can use this property in JavaScript.
Bssid Bssid Bssid Bssid
Gets the MAC address of the access point.
public : PlatForm::String Bssid { get; }public string Bssid { get; }Public ReadOnly Property Bssid As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The MAC address of the access point, formatted as xx:xx:xx:xx:xx:xx with always lower-case characters.
ChannelCenterFrequencyInKilohertz ChannelCenterFrequencyInKilohertz ChannelCenterFrequencyInKilohertz ChannelCenterFrequencyInKilohertz
Gets the channel center frequency of the band on which the 802.11 Beacon or Probe Response was received.
public : int ChannelCenterFrequencyInKilohertz { get; }public int ChannelCenterFrequencyInKilohertz { get; }Public ReadOnly Property ChannelCenterFrequencyInKilohertz As int// You can use this property in JavaScript.
- Value
- int int int int
The channel center frequency of the band on which the 802.11 Beacon or Probe Response frame was received. The value of this property is in units of kilohertz (kHz). Note that this member is only valid for PHY types that are not frequency-hopping spread spectrum (FHSS). In all other cases the value returned is zero.
IsWiFiDirect IsWiFiDirect IsWiFiDirect IsWiFiDirect
Gets a value indicating whether this network originates from a Wi-Fi Direct access point.
public : PlatForm::Boolean IsWiFiDirect { get; }public bool IsWiFiDirect { get; }Public ReadOnly Property IsWiFiDirect As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
When true, the network is originated by a Wi-Fi Direct access point. Otherwise, it is not.
NetworkKind NetworkKind NetworkKind NetworkKind
Gets a value describing the kind of network being described.
public : WiFiNetworkKind NetworkKind { get; }public WiFiNetworkKind NetworkKind { get; }Public ReadOnly Property NetworkKind As WiFiNetworkKind// You can use this property in JavaScript.
A WiFiNetworkKind enumeration member indicating the BSS network type.
NetworkRssiInDecibelMilliwatts NetworkRssiInDecibelMilliwatts NetworkRssiInDecibelMilliwatts NetworkRssiInDecibelMilliwatts
Gets the signal strength of the network.
public : double NetworkRssiInDecibelMilliwatts { get; }public double NetworkRssiInDecibelMilliwatts { get; }Public ReadOnly Property NetworkRssiInDecibelMilliwatts As double// You can use this property in JavaScript.
- Value
- double double double double
The signal strength, expressed in dBm.
PhyKind PhyKind PhyKind PhyKind
Gets a value describing the kind of PHY used by this network.
public : WiFiPhyKind PhyKind { get; }public WiFiPhyKind PhyKind { get; }Public ReadOnly Property PhyKind As WiFiPhyKind// You can use this property in JavaScript.
A WiFiPhyKind value indicating the PHY kind of the network.
SecuritySettings SecuritySettings SecuritySettings SecuritySettings
Gets the security configuration of the network.
public : NetworkSecuritySettings SecuritySettings { get; }public NetworkSecuritySettings SecuritySettings { get; }Public ReadOnly Property SecuritySettings As NetworkSecuritySettings// You can use this property in JavaScript.
- Value
- NetworkSecuritySettings NetworkSecuritySettings NetworkSecuritySettings NetworkSecuritySettings
An Instance of Windows.Networking.Connectivity.NetworkSecuritySettings describing the security configuration of the network.
SignalBars SignalBars SignalBars SignalBars
Gets the strength of the signal as a number of bars.
public : byte SignalBars { get; }public byte SignalBars { get; }Public ReadOnly Property SignalBars As byte// You can use this property in JavaScript.
- Value
- byte byte byte byte
The current number of signal bars displayed by the Windows UI for the network.
Ssid Ssid Ssid Ssid
Gets the SSID (name) of the network.
public : PlatForm::String Ssid { get; }public string Ssid { get; }Public ReadOnly Property Ssid As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The network SSID.
Uptime Uptime Uptime Uptime
Gets the uptime value reported by the network.
public : TimeSpan Uptime { get; }public TimeSpan Uptime { get; }Public ReadOnly Property Uptime As TimeSpan// You can use this property in JavaScript.
- Value
- TimeSpan TimeSpan TimeSpan TimeSpan
TimeSpan value representing the value of the Timestamp field from the 802.11 Beacon or Probe Response frame received by the wireless LAN interface.