title: How can you add a Certificate to WebClient (C#)?
body: <p>I know it is pretty simple to add a certificate to a HttpWebRequest. However, I have not found a way to do the equivalent using WebClient. Basically, I want to send out a POST with a specific certificate using WebClient.</p>
  <p>How would you accomplish this exact code using WebClient:</p>
  <pre><code>var request = (HttpWebRequest) WebRequest.Create(&quot;my-url&quot;);
  request.Method = &quot;POST&quot;;
  request.ClientCertificates.Add(new X509Certificate()); //add cert
  </code></pre>