using System;
namespace Renci.SshNet.Common
{
///
/// Provides data for the Downloading event.
///
public class ScpDownloadEventArgs : EventArgs
{
///
/// Gets the downloaded filename.
///
public string Filename { get; private set; }
///
/// Gets the downloaded file size.
///
public long Size { get; private set; }
///
/// Gets number of downloaded bytes so far.
///
public long Downloaded { get; private set; }
///
/// 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;
}
}
}