NetworkStateChangeEventDetails
NetworkStateChangeEventDetails
NetworkStateChangeEventDetails
NetworkStateChangeEventDetails
Class
Definition
Indicates which properties of a network have changed after a network state change background trigger.
public : sealed class NetworkStateChangeEventDetails : INetworkStateChangeEventDetails, INetworkStateChangeEventDetails2public sealed class NetworkStateChangeEventDetails : INetworkStateChangeEventDetails, INetworkStateChangeEventDetails2Public NotInheritable Class NetworkStateChangeEventDetails Implements INetworkStateChangeEventDetails, INetworkStateChangeEventDetails2// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Properties
HasNewConnectionCost HasNewConnectionCost HasNewConnectionCost HasNewConnectionCost
Indicates if a connected network has a new connection cost.
public : PlatForm::Boolean HasNewConnectionCost { get; }public bool HasNewConnectionCost { get; }Public ReadOnly Property HasNewConnectionCost As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
true if there is a new connection cost; otherwise, false.
HasNewDomainConnectivityLevel HasNewDomainConnectivityLevel HasNewDomainConnectivityLevel HasNewDomainConnectivityLevel
Indicates a connected network has a new domain connectivity level.
public : PlatForm::Boolean HasNewDomainConnectivityLevel { get; }public bool HasNewDomainConnectivityLevel { get; }Public ReadOnly Property HasNewDomainConnectivityLevel As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
true if the connectivity level changed; otherwise, false.
HasNewHostNameList HasNewHostNameList HasNewHostNameList HasNewHostNameList
Indicates if the list of host names returned by GetHostNames has changed.
public : PlatForm::Boolean HasNewHostNameList { get; }public bool HasNewHostNameList { get; }Public ReadOnly Property HasNewHostNameList As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
true if a new Host Name list was provided; otherwise, false.
HasNewInternetConnectionProfile HasNewInternetConnectionProfile HasNewInternetConnectionProfile HasNewInternetConnectionProfile
Indicates if the local machine has a new connection profile associated with the current internet connection.
public : PlatForm::Boolean HasNewInternetConnectionProfile { get; }public bool HasNewInternetConnectionProfile { get; }Public ReadOnly Property HasNewInternetConnectionProfile As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
true if the connection has changed; otherwise, false.
HasNewNetworkConnectivityLevel HasNewNetworkConnectivityLevel HasNewNetworkConnectivityLevel HasNewNetworkConnectivityLevel
Indicates if the network connectivity level for any connection profiles has changed.
public : PlatForm::Boolean HasNewNetworkConnectivityLevel { get; }public bool HasNewNetworkConnectivityLevel { get; }Public ReadOnly Property HasNewNetworkConnectivityLevel As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
true if the network connectivity level changed; otherwise, false.
HasNewTetheringClientCount HasNewTetheringClientCount HasNewTetheringClientCount HasNewTetheringClientCount
Gets a value indicating whether the network state change event shows a new tethering client count.
public : PlatForm::Boolean HasNewTetheringClientCount { get; }public bool HasNewTetheringClientCount { get; }Public ReadOnly Property HasNewTetheringClientCount As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
When true, the tethering client count has changed.
HasNewTetheringOperationalState HasNewTetheringOperationalState HasNewTetheringOperationalState HasNewTetheringOperationalState
Gets a value that indicates whether the tethering operational state has changed.
public : PlatForm::Boolean HasNewTetheringOperationalState { get; }public bool HasNewTetheringOperationalState { get; }Public ReadOnly Property HasNewTetheringOperationalState As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
When true, tethering operational state has changed.
HasNewWwanRegistrationState HasNewWwanRegistrationState HasNewWwanRegistrationState 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.
public : PlatForm::Boolean HasNewWwanRegistrationState { get; }public bool HasNewWwanRegistrationState { get; }Public ReadOnly Property HasNewWwanRegistrationState As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
true if the registration state has changed; otherwise, false.