ALX
Well-known member
I'm working towards including a procedure in a program that allows the user to update a particular file that is required by the program. I'd like it to connect to the internet, and download a file from a particular site. I'm looking at using "Process.Start()" to initiate the connection on the internet via the users default browser ... and "WebClient.DownloadFile" to do the deed. The issue I'm confused about is... I need to wait until the internet connection is setup before running "WebClient.DownloadFile". Obviously, I can't use Process.WaitForExit Method().... ??? Is there a property or something that I can query to find out when the connection is successful ?
??? ... Am I even close to doing this correctly ?.. Any guidance is greatly appreciated.
??? ... Am I even close to doing this correctly ?.. Any guidance is greatly appreciated.