Function 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 String.
Parameters
Name | Description |
---|---|
index | Interface index. |
Returns
Returns interface name or an empty String.