# < Summary

Information

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

Line coverage
88%

Covered lines: | 8
Uncovered lines: | 1
Coverable lines: | 9
Total lines: | 38
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_Filename() | 100% | 1 | 100%
get_Size() | 100% | 1 | 0%
get_Downloaded() | 100% | 1 | 100%

# File(s)

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

| # | Line |  | Line coverage
--- | --- | --- | --- | ---
|  | `1` |  | `using System;`
|  | `2` |  | ``
|  | `3` |  | `namespace Renci.SshNet.Common`
|  | `4` |  | `{`
|  | `5` |  | `/// <summary>`
|  | `6` |  | `/// Provides data for the Downloading event.`
|  | `7` |  | `/// </summary>`
|  | `8` |  | `public class ScpDownloadEventArgs : EventArgs`
|  | `9` |  | `{`
|  | `10` |  | `/// <summary>`
|  | `11` |  | `/// Initializes a new instance of the <see cref="ScpDownloadEventArgs"/> class.`
|  | `12` |  | `/// </summary>`
|  | `13` |  | `/// <param name="filename">The downloaded filename.</param>`
|  | `14` |  | `/// <param name="size">The downloaded file size.</param>`
|  | `15` |  | `/// <param name="downloaded">The number of downloaded bytes so far.</param>`
| 650 | `16` |  | `public ScpDownloadEventArgs(string filename, long size, long downloaded)`
| 650 | `17` |  | `{`
| 650 | `18` |  | `Filename = filename;`
| 650 | `19` |  | `Size = size;`
| 650 | `20` |  | `Downloaded = downloaded;`
| 650 | `21` |  | `}`
|  | `22` |  | ``
|  | `23` |  | `/// <summary>`
|  | `24` |  | `/// Gets the downloaded filename.`
|  | `25` |  | `/// </summary>`
| 650 | `26` |  | `public string Filename { get; }`
|  | `27` |  | ``
|  | `28` |  | `/// <summary>`
|  | `29` |  | `/// Gets the downloaded file size.`
|  | `30` |  | `/// </summary>`
| 0 | `31` |  | `public long Size { get; }`
|  | `32` |  | ``
|  | `33` |  | `/// <summary>`
|  | `34` |  | `/// Gets number of downloaded bytes so far.`
|  | `35` |  | `/// </summary>`
| 650 | `36` |  | `public long Downloaded { get; }`
|  | `37` |  | `}`
|  | `38` |  | `}`

# Methods/Properties

.ctor(System.String,System.Int64,System.Int64)
get_Filename()
get_Size()
get_Downloaded()