My application accesses internet to download a file from the given link. I am using my institute's internet connection which uses proxy settings.
For my application to be able to download the file from internet I need to open my internet browser, give the username and password for connection and keep the browser running, only then is my application able to download the complete file, if I don't do these things my application runs normally and creates a file in the desired place but shows the file size to be zero, which is most likely because it is unable to connect to the internet directly.
How can I make my application show a dialog to me asking for the username and password to connect to internet, if it is unable to.
Thanks :-)