I use the following code to get a list of the network interfaces currently available on the iPhone:
NetworkInterface[] l__objNetworkInterfaceList = NetworkInterface.GetAllNetworkInterfaces();
foreach (NetworkInterface l__objNetworkInterface in l__objNetworkInterfaceList)
{
Console.WriteLine("Name: " + l__objNetworkInterface.Name);
}
l__objNetworkInterface.Name returns a short string that identifies the interface (for example, lo0 for loopback, en0 for WiFi, pdp_ip for cellular, etc.). But I get a few names, I can’t understand what type of interface they specify:
ap0
gif0
stf0
Does anyone know this type of interface? Is there any documentation that lists the interfaces?
source
share