using System.ComponentModel; namespace FxSsh { public enum DisconnectReason { [EditorBrowsable(EditorBrowsableState.Never)] None = 0, // Not used by protocol HostNotAllowedToConnect = 1, ProtocolError = 2, KeyExchangeFailed = 3, Reserved = 4, MacError = 5, CompressionError = 6, ServiceNotAvailable = 7, ProtocolVersionNotSupported = 8, HostKeyNotVerifiable = 9, ConnectionLost = 10, ByApplication = 11, TooManyConnections = 12, AuthCancelledByUser = 13, NoMoreAuthMethodsAvailable = 14, IllegalUserName = 15 } }