check network connection availability when application running
I want to navigate to php or xml files th开发者_如何学Goose are in server, but for that I need to have Internet access.
How can I see if there's a connection available and active using C#?
Try connecting to the resource in question. If you can't then there's no connection "available and active"
Without more detail in your question, it's difficult to provide more info.
精彩评论