ConnectivityInterval class

Applies to Windows and Windows Phone

Provides the start time and duration for an established or prior connection.

Syntax


var connectivityInterval = ConnectionProfile.GetConnectivityIntervalsAsync();

Attributes

[DualApiPartition()]
[MarshalingBehavior(Agile)]
[Version(0x06030000)]

Members

The ConnectivityInterval class has these types of members:

Methods

The ConnectivityInterval class inherits methods from the Object class (C#/VB/C++).

Properties

The ConnectivityInterval class has these properties.

PropertyAccess typeDescription

ConnectionDuration

Read-onlyIndicates the duration of connectivity.

StartTime

Read-onlyIndicates when the connection was initially established.

 

Requirements

Minimum supported client

Windows 8.1 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps, desktop apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Networking.Connectivity
Windows::Networking::Connectivity [C++]

Metadata

Windows.winmd

See also

Object

 

 

Show:
© 2014 Microsoft