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
 
Back
Top