I have a simple app that uses the C# Web Client class to download a websites HTML. This is a stripped down sample of the code I\'m using:
WebClient wc = new Web
Try this:
What you would want to do is, to install the certificate into your local machine.
The procedure if it was not in code would be to do the following:
So you can try to have a look at these other questions and see if they help you:
Try to install the certificate and see if you go to the url again, if it asks to proceed.
****EDIT**:
I read the site certificate, it is because there is a mismatch between the certificate and the site's url.
A simple change would be this:
htmlCode = wc.DownloadString("https://oig.hhs.gov/exclusions/exclusions_list.asp");
Just remove the www.