namespace ElectronNET.API.Entities { /// /// /// public class UploadFile : IPostData { /// /// The object represents a file. /// public string Type { get; } = "file"; /// /// The path of the file being uploaded. /// public string FilePath { get; set; } /// /// The offset from the beginning of the file being uploaded, in bytes. Defaults to 0. /// public long Offset { get; set; } = 0; /// /// The length of the file being uploaded, . Defaults to 0. /// If set to -1, the whole file will be uploaded. /// public long Length { get; set; } = 0; /// /// The modification time of the file represented by a double, which is the number of seconds since the UNIX Epoch (Jan 1, 1970) /// public double ModificationTime { get; set; } } }