NetworkInterface.Index Property

Definition

Returns the index of this network interface.

public int Index { [Android.Runtime.Register("getIndex", "()I", "")] get; }
[<get: Android.Runtime.Register("getIndex", "()I", "")>]
member this.Index : int

Property Value

Int32

the index of this network interface or -1 if the index is unknown

Attributes

Remarks

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

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