Share via


NetworkStateChangeEventDetails Class

Definition

Indicates which properties of a network have changed after a network state change background trigger.

public ref class NetworkStateChangeEventDetails sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class NetworkStateChangeEventDetails final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class NetworkStateChangeEventDetails
Public NotInheritable Class NetworkStateChangeEventDetails
Inheritance
Object Platform::Object IInspectable NetworkStateChangeEventDetails
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

HasNewConnectionCost

Indicates if a connected network has a new connection cost.

HasNewDomainConnectivityLevel

Indicates a connected network has a new domain connectivity level.

HasNewHostNameList

Indicates if the list of host names returned by GetHostNames has changed.

HasNewInternetConnectionProfile

Indicates if the local machine has a new connection profile associated with the current internet connection.

HasNewNetworkConnectivityLevel

Indicates if the network connectivity level for any connection profiles has changed.

HasNewTetheringClientCount

Gets a value indicating whether the network state change event shows a new tethering client count.

HasNewTetheringOperationalState

Gets a value that indicates whether the tethering operational state has changed.

HasNewWwanRegistrationState

Indicates if the network state change event represents a change to the registration state of a WWAN connection. The current registration state can be retrieved from WwanConnectionProfileDetails.GetNetworkRegistrationState.

Applies to