Dela via


NetworkInterface.IsUp Property

Definition

Returns whether a network interface is up and running.

public bool IsUp { [Android.Runtime.Register("isUp", "()Z", "")] get; }
[<get: Android.Runtime.Register("isUp", "()Z", "")>]
member this.IsUp : bool

Property Value

true if the interface is up and running.

Attributes

Exceptions

if an I/O error occurs.

Remarks

Returns whether a network interface is up and running.

Added in 1.6.

Java documentation for java.net.NetworkInterface.isUp().

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