by Simon [symwilson at yahoo dot com] posted on 2005/02/09 |
|
I have had been running a FTP app for several weeks, incorporating the SecureSocket class. Everything has been dandy until yesterday when I started to get repeated exceptions on the Socket.Shutdown() call. The exception is as follows:
Org.Mentalis.Security.Ssl.Shared.SslException: An exception occurred ---> System.ObjectDisposedException: Cannot access a disposed object named "Org.Mentalis.Security.Cryptography.HMAC".
Object name: "Org.Mentalis.Security.Cryptography.HMAC".
at Org.Mentalis.Security.Cryptography.HMAC.Initialize()
at Org.Mentalis.Security.Ssl.Shared.RecordLayer.WrapMessage(RecordMessage message)
--- End of inner exception stack trace ---
at Org.Mentalis.Security.Ssl.Shared.RecordLayer.WrapMessage(RecordMessage message)
at Org.Mentalis.Security.Ssl.Shared.RecordLayer.InternalEncryptBytes(Byte[] buffer, Int32 offset, Int32 size, ContentType type)
at Org.Mentalis.Security.Ssl.Shared.RecordLayer.EncryptBytes(Byte[] buffer, Int32 offset, Int32 size, ContentType type)
at Org.Mentalis.Security.Ssl.Shared.HandshakeLayer.GetControlBytes(ControlType type)
at Org.Mentalis.Security.Ssl.Shared.SocketController.BeginShutdown(AsyncCallback callback, Object state)
at Org.Mentalis.Security.Ssl.SecureSocket.BeginShutdown(AsyncCallback callback, Object state)
at Org.Mentalis.Security.Ssl.SecureSocket.Shutdown(SocketShutdown how)
I downloaded and installed the latest assembly to no avail. Any suggestions would be greatky appreciated, any requests for further info will be met as best as my ability will allow. |