AuthenticationPasswordChangeEventArgs.cs 917 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace Renci.SshNet.Common
  6. {
  7. /// <summary>
  8. /// Provides data for <see cref="Renci.SshNet.PasswordConnectionInfo.PasswordExpired"/> event.
  9. /// </summary>
  10. public class AuthenticationPasswordChangeEventArgs : AuthenticationEventArgs
  11. {
  12. /// <summary>
  13. /// Gets or sets the new password.
  14. /// </summary>
  15. /// <value>
  16. /// The new password.
  17. /// </value>
  18. public byte[] NewPassword { get; set; }
  19. /// <summary>
  20. /// Initializes a new instance of the <see cref="AuthenticationPasswordChangeEventArgs"/> class.
  21. /// </summary>
  22. /// <param name="username">The username.</param>
  23. public AuthenticationPasswordChangeEventArgs(string username)
  24. : base(username)
  25. {
  26. }
  27. }
  28. }