AuthenticationPasswordChangeEventArgs.cs 800 B

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