I would like to get/set the IP address and subnet mask in a visual basic application. what is the API that I can use? I would prefer to use something that will work without much change across all windows platforms (atleast WIN98/WIN95)

Any help is appreciated