DisconnectReason.cs 665 B

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