попробуй покопать тут: ms-help://MS.MSDNQTR.2002JUL.1033/tcpip/tcpip_7wiv.htm (IPHlpApi) через SNMP можно еще
BOOL try_via_ilist() { //return(FALSE); WSADATA WinsockData; SOCKET sd; INTERFACE_INFO InterfaceList[20]; unsigned long nBytesReturned; if (WSAStartup(MAKEWORD(2, 2), &WinsockData) != 0) { return(FALSE); } sd= WSASocket(AF_INET, SOCK_DGRAM, 0, 0, 0, 0); if (sd == SOCKET_ERROR) { return(FALSE); } if (WSAIoctl(sd, SIO_GET_INTERFACE_LIST, 0, 0, &InterfaceList, sizeof(InterfaceList), &nBytesReturned, 0, 0) == SOCKET_ERROR) { return(FALSE); } closesocket(sd); nBytesReturned= nBytesReturned / sizeof(INTERFACE_INFO); if(nBytesReturned>1) return(TRUE); return(FALSE); }