title: WebClient.DownloadString("https://....") Crashes. No Exceptions
body: <p>I'm at a loss here. I have created an API for a website of mine (If it's of any value, this is being locally hosted for easier development). I am <em>trying</em> to pass it some info via a simple GET request, but I'm running into a big problem.</p>
  
  <pre><code>Dim wc As WebClient = New WebClient()
  Dim ServerResponse As String = wc.DownloadString(New Uri(entireRequest))
  MsgBox("This will NEVER be run")
  </code></pre>
  
  <p>The above code is being run in a separate thread. The problem is that when the <code>DownloadString</code> line is called, no other code afterwards is ever run. I have tried setting breakpoints after that line and none are hit. </p>
  
  <p>A <code>Try...Catch</code> block does nothing. I have tried catching <code>Net.WebExceptions</code> and System.Exceptions. Nothing's ever caught. My breakpoint on <code>End Try</code> is never hit..</p>
  
  <p>I have noticed that this will only happen if <code>entireRequest</code> is an https connection. This problem doesn't happen if it's not encrypted. </p>
  
  <p>Adding the following in order to ignore the self-signed cert does nothing:</p>
  
  <pre><code>Public Class clsSSL
      Public Shared Function AcceptAllCertifications(ByVal sender As Object, ByVal certification As System.Security.Cryptography.X509Certificates.X509Certificate, ByVal chain As System.Security.Cryptography.X509Certificates.X509Chain, ByVal sslPolicyErrors As System.Net.Security.SslPolicyErrors) As Boolean
          Return True
      End Function
  End Class
  </code></pre>
  
  <p><strong>Thanks in advance! I've done a lot of searching and you're my last hope!</strong></p>