ConnectionRequestEventArgs.cs 700 B

1234567891011121314151617181920212223
  1. /* Copyright (C) 2019 Tal Aloni <tal.aloni.il@gmail.com>. All rights reserved.
  2. *
  3. * You can redistribute this program and/or modify it under the terms of
  4. * the GNU Lesser Public License as published by the Free Software Foundation,
  5. * either version 3 of the License, or (at your option) any later version.
  6. */
  7. using System;
  8. using System.Collections.Generic;
  9. using System.Net;
  10. namespace SMBLibrary.Server
  11. {
  12. public class ConnectionRequestEventArgs : EventArgs
  13. {
  14. public IPEndPoint IPEndPoint;
  15. public bool Accept = true;
  16. public ConnectionRequestEventArgs(IPEndPoint ipEndPoint)
  17. {
  18. IPEndPoint = ipEndPoint;
  19. }
  20. }
  21. }