WiFiNetworkReport
WiFiNetworkReport
WiFiNetworkReport
WiFiNetworkReport
Class
Definition
Contains the result of a network scan operation.
public : sealed class WiFiNetworkReport : IWiFiNetworkReportpublic sealed class WiFiNetworkReport : IWiFiNetworkReportPublic NotInheritable Class WiFiNetworkReport Implements IWiFiNetworkReport// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| 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
The system creates an instance of this object when a network scan completes successfully and raises a 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 results of the most current scan from a given Wi-Fi adapter by getting the WiFiAdapter.NetworkReport property.
Properties
AvailableNetworks AvailableNetworks AvailableNetworks AvailableNetworks
A list of available networks.
public : IVectorView<WiFiAvailableNetwork> AvailableNetworks { get; }public IReadOnlyList<WiFiAvailableNetwork> AvailableNetworks { get; }Public ReadOnly Property AvailableNetworks As IReadOnlyList<WiFiAvailableNetwork>// You can use this property in JavaScript.
- Value
- IVectorView<WiFiAvailableNetwork> IReadOnlyList<WiFiAvailableNetwork> IReadOnlyList<WiFiAvailableNetwork> IReadOnlyList<WiFiAvailableNetwork>
A list of available networks.
Timestamp Timestamp Timestamp Timestamp
Contains the result of a network scan operation.
public : DateTime Timestamp { get; }public DateTimeOffset Timestamp { get; }Public ReadOnly Property Timestamp As DateTimeOffset// You can use this property in JavaScript.
- Value
- DateTime DateTimeOffset DateTimeOffset DateTimeOffset
The date and time that the scan operation finished.