Language

Os.If_indextoname(Int32) Method

Definition

[Android.Runtime.Register("if_indextoname", "(I)Ljava/lang/String;", "")]
public static string? If_indextoname(int index);
[<Android.Runtime.Register("if_indextoname", "(I)Ljava/lang/String;", "")>]
static member If_indextoname : int -> string

Parameters

index
Int32

The numeric index of the network interface.

Returns

The interface name, or null if the index cannot be resolved.

Attributes

Remarks

See if_indextoname(3).

Java documentation for android.system.Os.if_indextoname(int).

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