# < Summary

Information

Class: | Renci.SshNet.Common.AuthenticationPrompt
Assembly: | Renci.SshNet
File(s): | \home\appveyor\projects\ssh-net\src\Renci.SshNet\Common\AuthenticationPrompt.cs

Line coverage
90%

Covered lines: | 9
Uncovered lines: | 1
Coverable lines: | 10
Total lines: | 47
Line coverage: | 90%

Branch coverage
N/A

Covered branches: | 0
Total branches: | 0
Branch coverage: | N/A

Method coverage

Feature is only available for sponsors

Upgrade to PRO version

# Metrics

Method | Branch coverage | Cyclomatic complexity | Line coverage
--- | --- | --- | ---
.ctor(...) | 100% | 1 | 100%
get_Id() | 100% | 1 | 100%
get_IsEchoed() | 100% | 1 | 0%
get_Request() | 100% | 1 | 100%
get_Response() | 100% | 1 | 100%

# File(s)

## \home\appveyor\projects\ssh-net\src\Renci.SshNet\Common\AuthenticationPrompt.cs

| # | Line |  | Line coverage
--- | --- | --- | --- | ---
|  | `1` |  | `namespace Renci.SshNet.Common`
|  | `2` |  | `{`
|  | `3` |  | `/// <summary>`
|  | `4` |  | `/// Provides prompt information when <see cref="KeyboardInteractiveConnectionInfo.AuthenticationPrompt"/> is raised.`
|  | `5` |  | `/// </summary>`
|  | `6` |  | `public class AuthenticationPrompt`
|  | `7` |  | `{`
|  | `8` |  | `/// <summary>`
|  | `9` |  | `/// Initializes a new instance of the <see cref="AuthenticationPrompt"/> class.`
|  | `10` |  | `/// </summary>`
|  | `11` |  | `/// <param name="id">The sequence id.</param>`
|  | `12` |  | `/// <param name="isEchoed">if set to <see langword="true"/> the user input should be echoed.</param>`
|  | `13` |  | `/// <param name="request">The request.</param>`
| 6 | `14` |  | `public AuthenticationPrompt(int id, bool isEchoed, string request)`
| 6 | `15` |  | `{`
| 6 | `16` |  | `Id = id;`
| 6 | `17` |  | `IsEchoed = isEchoed;`
| 6 | `18` |  | `Request = request;`
| 6 | `19` |  | `}`
|  | `20` |  | ``
|  | `21` |  | `/// <summary>`
|  | `22` |  | `/// Gets the prompt sequence id.`
|  | `23` |  | `/// </summary>`
| 6 | `24` |  | `public int Id { get; }`
|  | `25` |  | ``
|  | `26` |  | `/// <summary>`
|  | `27` |  | `/// Gets a value indicating whether the user input should be echoed as characters are typed.`
|  | `28` |  | `/// </summary>`
|  | `29` |  | `/// <value>`
|  | `30` |  | `/// <see langword="true"/> if the user input should be echoed as characters are typed; otherwise, <see langwor`
|  | `31` |  | `/// </value>`
| 0 | `32` |  | `public bool IsEchoed { get; }`
|  | `33` |  | ``
|  | `34` |  | `/// <summary>`
|  | `35` |  | `/// Gets server information request.`
|  | `36` |  | `/// </summary>`
| 5 | `37` |  | `public string Request { get; }`
|  | `38` |  | ``
|  | `39` |  | `/// <summary>`
|  | `40` |  | `/// Gets or sets server information response.`
|  | `41` |  | `/// </summary>`
|  | `42` |  | `/// <value>`
|  | `43` |  | `/// The response.`
|  | `44` |  | `/// </value>`
| 12 | `45` |  | `public string Response { get; set; }`
|  | `46` |  | `}`
|  | `47` |  | `}`

# Methods/Properties

.ctor(System.Int32,System.Boolean,System.String)
get_Id()
get_IsEchoed()
get_Request()
get_Response()