TlsNoCloseNotifyException
This exception will be thrown (only) when the connection is closed by the peer without sending a
close_notifyclose_notify warning alert.
using System;
using System.IO;
using System.Runtime.Serialization;
namespace Org.BouncyCastle.Tls
{
[Serializable]
public class TlsNoCloseNotifyException : EndOfStreamException
{
public TlsNoCloseNotifyException()
: base("No close_notify alert received before connection closed")
{
}
protected TlsNoCloseNotifyException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}