Files
ssh.net/Renci.SshClient/Renci.SshNet/Common/AuthenticationPasswordChangeEventArgs.cs
T
olegkap_cp 9125534cff Refactor WaitAny handle
Add ability to specify password as byte array which can be cleaned up later for security reasons
2012-12-27 02:31:18 +00:00

31 lines
917 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
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)
{
}
}
}