How to know wifi connection has internet enabled using windows apis

177 views Asked by At

I am using Windows XP. I am using wlanapi dll for getting API of wifi. When I connected with any wifi interface, How to know wifi connection has internet connection enabled or not? Is there any API or way to know??

1

There are 1 answers

1
James Reed On

You could try pinging a known server

http://msdn.microsoft.com/en-us/library/windows/desktop/aa366050(v=vs.85).aspx

If not that I'm sure you could find something else in that library