Class AuthenticationPromptEventArgs
- Namespace
- Renci.SshNet.Common
- Assembly
- Renci.SshNet.dll
Provides data for Renci.SshNet.KeyboardInteractiveConnectionInfo.AuthenticationPrompt event.
public class AuthenticationPromptEventArgs : AuthenticationEventArgsInheritance
Inherited Members
Constructors
AuthenticationPromptEventArgs(string, string, string, IReadOnlyList<AuthenticationPrompt>)
Initializes a new instance of the Renci.SshNet.Common.AuthenticationPromptEventArgs class.
public AuthenticationPromptEventArgs(string username, string instruction, string language, IReadOnlyList<AuthenticationPrompt> prompts)Parameters
usernamestring-
The username.
instructionstring-
The instruction.
languagestring-
The language.
promptsIReadOnlyList<AuthenticationPrompt>-
The information request prompts.
Properties
Instruction
Gets prompt instruction.
public string Instruction { get; }Property Value
Language
Gets prompt language.
public string Language { get; }Property Value
Prompts
Gets server information request prompts.
public IReadOnlyList<AuthenticationPrompt> Prompts { get; }