System.Net.NetworkInformation.UnixNetworkInterface.if_nametoindex C# (CSharp) Method

if_nametoindex() private method

private if_nametoindex ( string ifname ) : int
ifname string
return int
		static extern int if_nametoindex(string ifname);

Usage Example

 public static int IfNameToIndex(string ifname)
 {
     return(UnixNetworkInterface.if_nametoindex(ifname));
 }