AuthenticationRequestedEventArgs.cs 439 B

123456789101112131415161718
  1. namespace WatsonTcp
  2. {
  3. /// <summary>
  4. /// Event arguments for when authentication is requested from a client.
  5. /// </summary>
  6. public class AuthenticationRequestedEventArgs
  7. {
  8. internal AuthenticationRequestedEventArgs(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. }