using System; namespace Renci.SshNet.Common { /// /// Provides data for the Downloading event. /// public class ScpDownloadEventArgs : EventArgs { /// /// Initializes a new instance of the class. /// /// The downloaded filename. /// The downloaded file size. /// The number of downloaded bytes so far. public ScpDownloadEventArgs(string filename, long size, long downloaded) { Filename = filename; Size = size; Downloaded = downloaded; } /// /// Gets the downloaded filename. /// public string Filename { get; } /// /// Gets the downloaded file size. /// public long Size { get; } /// /// Gets number of downloaded bytes so far. /// public long Downloaded { get; } } }