Table of Contents

Class AuthenticationPromptEventArgs

Namespace
Renci.SshNet.Common
Assembly
Renci.SshNet.dll

Provides data for Renci.SshNet.KeyboardInteractiveConnectionInfo.AuthenticationPrompt event.

public class AuthenticationPromptEventArgs : AuthenticationEventArgs

Inheritance

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

username string

The username.

instruction string

The instruction.

language string

The language.

prompts IReadOnlyList<AuthenticationPrompt>

The information request prompts.

Properties

Instruction

Gets prompt instruction.

public string Instruction { get; }

Property Value

string

Language

Gets prompt language.

public string Language { get; }

Property Value

string

Prompts

Gets server information request prompts.

public IReadOnlyList<AuthenticationPrompt> Prompts { get; }

Property Value

IReadOnlyList<AuthenticationPrompt>