AuthenticationPromptEventArgs
Provides data for AuthenticationPrompt event.
using System.Collections.Generic;
namespace Renci.SshNet.Common
{
public class AuthenticationPromptEventArgs : AuthenticationEventArgs
{
public string Language { get; set; }
public string Instruction { get; set; }
public IEnumerable<AuthenticationPrompt> Prompts { get; set; }
public AuthenticationPromptEventArgs(string username, string instruction, string language, IEnumerable<AuthenticationPrompt> prompts)
: base(username)
{
Instruction = instruction;
Language = language;
Prompts = prompts;
}
}
}