public ChunkedUploader(long chunkSize = 1024 * 1024) { if (chunkSize <= 0) { throw new ArgumentException("The chunk size must be a positive number and cannot be zero or less"); } this.ChunkSize = chunkSize; }