mirror of
https://github.com/sshnet/SSH.NET.git
synced 2026-10-15 09:01:34 +00:00
2f42d5a31e
Minor fixes that was recenty broken earlier Apply some FxCop recomendation
29 lines
790 B
C#
29 lines
790 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Renci.SshNet.Messages.Authentication;
|
|
|
|
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>
|
|
public AuthenticationEventArgs(string username)
|
|
{
|
|
this.Username = username;
|
|
}
|
|
}
|
|
}
|