public override System.Threading.Tasks.Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken) { throw new InvalidOperationException("Stream is not writable"); }