Edit

Share via


NetworkReachabilityFlags Enum

Definition

The reachability status.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum NetworkReachabilityFlags
type NetworkReachabilityFlags = 
Inheritance
NetworkReachabilityFlags
Attributes

Fields

Name Value Description
TransientConnection 1

The host is reachable using a transient connection (PPP for example).

Reachable 2

The host is reachable.

ConnectionRequired 4

Reachable, but a connection must first be established.

ConnectionAutomatic 8

The connection will happen automatically (alias for ConnectionOnTraffic).

ConnectionOnTraffic 8

Reachable, but a connection must be initiated. The connection will be initiated on any traffic to the target detected.

InterventionRequired 16

The host is reachable, but it will require user interaction.

ConnectionOnDemand 32

Reachable, but a connection must be initiated. The connection will be initiated if you use any of the CFSocketStream APIs, but will not be initiated automatically.

IsLocalAddress 65536

The specified address is the device local name or local device.

IsDirect 131072

Connection to the host is direct, and will not go through a gateway.

IsWWAN 262144

Reachable over the cellular connection (GPRS, EDGE or 3G).

Applies to