by Shih-Chung Lin [sjklin at cisco dot com] posted on 2006/02/17 |
|
Hi Dear Sir,
I have problem on SSL/TLS SecureSocket library latest version with .Net framework 1.1 or 2.0.(.Net Visual Studio 1.1 or 2.0) It will get the "Unhandled Exception: System.NullReferenceException" error message after I issue the Close socket event from my GUI. But,if I use System.Net.Socket library, It will be OK(no problem on close socket every time from GUI). The reaseon I use this SecureSocket library, because it has SSL/TLS protocol support and System.Net.Socket did not have SSL/TLS.
Please let me know, How can I solve this problem or tell me if you have any solution.
The following is error message from .Net Visual Studio Console output.
Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object.
at Org.Mentalis.Security.Ssl.SecureSocket.Close()
at Org.Mentalis.Security.Ssl.SecureSocket.Finalize()
Press any key to continue . . .
Thanks.
Shih-Chung Lin |