private void AddRequestProgress(HttpRequestMessage request) { if (this.HttpSendProgress != null && request != null && request.Content != null) { HttpContent progressContent = new ProgressContent(request.Content, this, request); request.Content = progressContent; } }