system.net.mail.smtpclient.clientcertificates property

  • Thread starter Thread starter Marco Shaw [MVP]
  • Start date Start date
M

Marco Shaw [MVP]

http://msdn.microsoft.com/en-us/library/system.net.mail.smtpclient.clientcertificates.aspx

I'm having a hard time to find/understand how this property works. It
only supports get, but how does one go about defining this property in
the first place? Is it via another method where we have to have already
loading on the system?

Will it automagically populate when I set these:

<object>.UseDefaultCredentials = true;
<object>.EnableSsl = true;

Marco
--
Microsoft MVP - Windows PowerShell
http://www.microsoft.com/mvp

PowerGadgets MVP
http://www.powergadgets.com/mvp

Blog:
http://marcoshaw.blogspot.com
 
Marco said:
http://msdn.microsoft.com/en-us/library/system.net.mail.smtpclient.clientcertificates.aspx


I'm having a hard time to find/understand how this property works. It
only supports get, but how does one go about defining this property in
the first place? Is it via another method where we have to have already
loading on the system?

Will it automagically populate when I set these:

<object>.UseDefaultCredentials = true;
<object>.EnableSsl = true;

Marco

Solution simply is this:

ClientCertificates.Add(my_cert_object)

Marco
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top