Hi there,

I'm new to IronPython and I would like to know how can I catch an
exception generated by SslStream, Example:

client = TcpClient(self.server, self.port)

sslStream = SslStream( client.GetStream(), False,
RemoteCertificateValidationCallback (self.ValidateServerCertificate),
None)

try:
   sslStream.AuthenticateAsClient("secure.mydomain....")
except <HERE?> :

   ....  <HERE?> ...
   return

Is there any link where I can read about it and found some examples?

regards,

gara
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to