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.

25 lines
644 B
C#

9 months ago
using System;
namespace Renci.SshNet.Common
{
/// <summary>
/// Base class for authentication events.
/// </summary>
public abstract class AuthenticationEventArgs : EventArgs
{
/// <summary>
/// Gets the username.
/// </summary>
public string Username { get; private set; }
/// <summary>
/// Initializes a new instance of the <see cref="AuthenticationEventArgs"/> class.
/// </summary>
/// <param name="username">The username.</param>
protected AuthenticationEventArgs(string username)
{
Username = username;
}
}
}