You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
800 B
C#

namespace Renci.SshNet.Common
{
/// <summary>
/// Provides data for <see cref="Renci.SshNet.PasswordConnectionInfo.PasswordExpired"/> event.
/// </summary>
public class AuthenticationPasswordChangeEventArgs : AuthenticationEventArgs
{
/// <summary>
/// Gets or sets the new password.
/// </summary>
/// <value>
/// The new password.
/// </value>
public byte[] NewPassword { get; set; }
/// <summary>
/// Initializes a new instance of the <see cref="AuthenticationPasswordChangeEventArgs"/> class.
/// </summary>
/// <param name="username">The username.</param>
public AuthenticationPasswordChangeEventArgs(string username)
: base(username)
{
}
}
}