Udostępnij za pośrednictwem


NetworkInfo.IsConnected Property

Definition

Indicates whether network connectivity exists and it is possible to establish connections and pass data.

public virtual bool IsConnected { [Android.Runtime.Register("isConnected", "()Z", "GetIsConnectedHandler")] get; }
[<get: Android.Runtime.Register("isConnected", "()Z", "GetIsConnectedHandler")>]
member this.IsConnected : bool

Property Value

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to