If internet requires authentication for actually connecting to be able to download?
<p>My application requires using internet connection to download some file from a link. I have a internet connection which uses proxy and needs authentication. Somehow when I try to connect to internet it never asks for this authentication hence is unable to download file.</p>

<p>What I want to ask is that is there any way to detect if the internet connection of the user requires authentication to download files from internet, so that in-case if it is required my application can ask the user to open a normal internet browser of device and provide the wanted authentication.</p>
