indexToName

Converts the index of a network interface to its name.

If an interface with the index cannot be found or another error occurres, returns an empty $(D_PSYMBOL String).

@nogc nothrow @trusted
indexToName
(
uint index
)

Parameters

index uint

Interface index.

Return Value

Type: String

Returns interface name or an empty $(D_PSYMBOL String).

Meta