namespace Renci.SshNet.Common { /// /// Provides prompt information when is raised. /// public class AuthenticationPrompt { /// /// Initializes a new instance of the class. /// /// The sequence id. /// if set to true the user input should be echoed. /// The request. public AuthenticationPrompt(int id, bool isEchoed, string request) { Id = id; IsEchoed = isEchoed; Request = request; } /// /// Gets the prompt sequence id. /// public int Id { get; } /// /// Gets a value indicating whether the user input should be echoed as characters are typed. /// /// /// true if the user input should be echoed as characters are typed; otherwise, false. /// public bool IsEchoed { get; } /// /// Gets server information request. /// public string Request { get; } /// /// Gets or sets server information response. /// /// /// The response. /// public string Response { get; set; } } }