# < Summary

Information

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

Line coverage
88%

Covered lines: | 8
Uncovered lines: | 1
Coverable lines: | 9
Total lines: | 40
Line coverage: | 88.8%

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_Language() | 100% | 1 | 0%
get_Instruction() | 100% | 1 | 100%
get_Prompts() | 100% | 1 | 100%

# File(s)

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

| # | Line |  | Line coverage
--- | --- | --- | --- | ---
|  | `1` |  | `using System.Collections.Generic;`
|  | `2` |  | ``
|  | `3` |  | `namespace Renci.SshNet.Common`
|  | `4` |  | `{`
|  | `5` |  | `/// <summary>`
|  | `6` |  | `/// Provides data for <see cref="KeyboardInteractiveConnectionInfo.AuthenticationPrompt"/> event.`
|  | `7` |  | `/// </summary>`
|  | `8` |  | `public class AuthenticationPromptEventArgs : AuthenticationEventArgs`
|  | `9` |  | `{`
|  | `10` |  | `/// <summary>`
|  | `11` |  | `/// Initializes a new instance of the <see cref="AuthenticationPromptEventArgs"/> class.`
|  | `12` |  | `/// </summary>`
|  | `13` |  | `/// <param name="username">The username.</param>`
|  | `14` |  | `/// <param name="instruction">The instruction.</param>`
|  | `15` |  | `/// <param name="language">The language.</param>`
|  | `16` |  | `/// <param name="prompts">The information request prompts.</param>`
|  | `17` |  | `public AuthenticationPromptEventArgs(string username, string instruction, string language, IEnumerable<Authentic`
| 9 | `18` |  | `: base(username)`
| 9 | `19` |  | `{`
| 9 | `20` |  | `Instruction = instruction;`
| 9 | `21` |  | `Language = language;`
| 9 | `22` |  | `Prompts = prompts;`
| 9 | `23` |  | `}`
|  | `24` |  | ``
|  | `25` |  | `/// <summary>`
|  | `26` |  | `/// Gets prompt language.`
|  | `27` |  | `/// </summary>`
| 0 | `28` |  | `public string Language { get; }`
|  | `29` |  | ``
|  | `30` |  | `/// <summary>`
|  | `31` |  | `/// Gets prompt instruction.`
|  | `32` |  | `/// </summary>`
| 7 | `33` |  | `public string Instruction { get; }`
|  | `34` |  | ``
|  | `35` |  | `/// <summary>`
|  | `36` |  | `/// Gets server information request prompts.`
|  | `37` |  | `/// </summary>`
| 18 | `38` |  | `public IEnumerable<AuthenticationPrompt> Prompts { get; }`
|  | `39` |  | `}`
|  | `40` |  | `}`

# Methods/Properties

.ctor(System.String,System.String,System.String,System.Collections.Generic.IEnumerable`1<Renci.SshNet.Common.AuthenticationPrompt>)
get_Language()
get_Instruction()
get_Prompts()