# < Summary

Information

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

Line coverage
100%

Covered lines: | 14
Uncovered lines: | 0
Coverable lines: | 14
Total lines: | 28
Line coverage: | 100%

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
--- | --- | --- | ---
get_ResponseId() | 100% | 1 | 100%
get_ProtocolVersion() | 100% | 1 | 100%
.ctor(...) | 100% | 1 | 100%
LoadData() | 100% | 1 | 100%
SaveData() | 100% | 1 | 100%

# File(s)

## \home\appveyor\projects\ssh-net\src\Renci.SshNet\Sftp\Responses\SftpResponse.cs

| # | Line |  | Line coverage
--- | --- | --- | --- | ---
|  | `1` |  | `namespace Renci.SshNet.Sftp.Responses`
|  | `2` |  | `{`
|  | `3` |  | `internal abstract class SftpResponse : SftpMessage`
|  | `4` |  | `{`
| 94719 | `5` |  | `public uint ResponseId { get; set; }`
|  | `6` |  | ``
| 68588 | `7` |  | `public uint ProtocolVersion { get; private set; }`
|  | `8` |  | ``
| 31701 | `9` |  | `protected SftpResponse(uint protocolVersion)`
| 31701 | `10` |  | `{`
| 31701 | `11` |  | `ProtocolVersion = protocolVersion;`
| 31701 | `12` |  | `}`
|  | `13` |  | ``
|  | `14` |  | `protected override void LoadData()`
| 31536 | `15` |  | `{`
| 31536 | `16` |  | `base.LoadData();`
|  | `17` |  | ``
| 31536 | `18` |  | `ResponseId = ReadUInt32();`
| 31536 | `19` |  | `}`
|  | `20` |  | ``
|  | `21` |  | `protected override void SaveData()`
| 60 | `22` |  | `{`
| 60 | `23` |  | `base.SaveData();`
|  | `24` |  | ``
| 60 | `25` |  | `Write(ResponseId);`
| 60 | `26` |  | `}`
|  | `27` |  | `}`
|  | `28` |  | `}`

# Methods/Properties

get_ResponseId()
get_ProtocolVersion()
.ctor(System.UInt32)
LoadData()
SaveData()