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

ConnectionAutomatic 8

The connection will happen automatically (alias for ConnectionOnTraffic).

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.

ConnectionOnTraffic 8

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

ConnectionRequired 4

Reachable, but a connection must first be established.

InterventionRequired 16

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

IsDirect 131072

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

IsLocalAddress 65536

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

IsWWAN 262144

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

Reachable 2

The host is reachable.

TransientConnection 1

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

Applies to