AuthorizationRequestArgs.cs 859 B

1234567891011121314151617181920212223242526
  1. /* Copyright (C) 2012-2016 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.Net;
  9. namespace ISCSI.Server
  10. {
  11. public class AuthorizationRequestArgs : EventArgs
  12. {
  13. public string InitiatorName;
  14. public ulong ISID;
  15. public IPEndPoint InitiatorEndPoint;
  16. public bool Accept = true;
  17. public AuthorizationRequestArgs(string initiatorName, ulong isid, IPEndPoint initiatorEndPoint)
  18. {
  19. InitiatorName = initiatorName;
  20. ISID = isid;
  21. InitiatorEndPoint = initiatorEndPoint;
  22. }
  23. }
  24. }