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