Dela via


WiFiAvailableNetwork.Uptime Property

Definition

Note

Some information relates to pre-released product, which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Important

This API will be affected by upcoming changes to operating system behavior, planned for fall 2024. For more info, see Changes to API behavior for Wi-Fi access and location.

Gets the uptime value reported by the network.

public:
 property TimeSpan Uptime { TimeSpan get(); };
TimeSpan Uptime();
public System.TimeSpan Uptime { get; }
var timeSpan = wiFiAvailableNetwork.uptime;
Public ReadOnly Property Uptime As TimeSpan

Property Value

TimeSpan value representing the value of the Timestamp field from the 802.11 Beacon or Probe Response frame received by the wireless LAN interface.

Applies to