Differentiate VMware network adapter from physical network adapters

Posted by Venkat on Stack Overflow See other posts from Stack Overflow or by Venkat
Published on 2010-06-17T14:33:40Z Indexed on 2010/06/17 14:53 UTC
Read the original article Hit count: 216

Filed under:
|
|
|
|

I have to differentiate between the real addresses and the VM addresses using any Windows API. I'm using Getadaptersaddresses API to populate a list of ipaddresses for the local machine. I need to extract only the "real" addresses apart from the addresses associated with the VMware network adapter and other addresses(auto-configuration and tunnel adapter addresses) I've not been able to find any API or any flag to differentiate this. Is there any way this can be done?

PS:The IfType flag in the IP_ADAPTER_ADDRESSES structure returned by Getadaptersaddresses doesn't help me differentiate between VMware addresses and the real addresses

© Stack Overflow or respective owner

Related posts about c

    Related posts about Windows