AuthenticationFailedEventArgs.cs 421 B

123456789101112131415161718
  1. namespace WatsonTcp
  2. {
  3. /// <summary>
  4. /// Event arguments for when a client fails authentication.
  5. /// </summary>
  6. public class AuthenticationFailedEventArgs
  7. {
  8. internal AuthenticationFailedEventArgs(string ipPort)
  9. {
  10. IpPort = ipPort;
  11. }
  12. /// <summary>
  13. /// The IP:port of the client.
  14. /// </summary>
  15. public string IpPort { get; }
  16. }
  17. }