4 types derived from WebResponse
PresentationCore (1)
System\IO\Packaging\PackWebResponse.cs (1)
33public sealed class PackWebResponse: WebResponse
System.Net.Requests (3)
System\Net\FileWebResponse.cs (1)
11public class FileWebResponse : WebResponse, ISerializable
System\Net\FtpWebResponse.cs (1)
11public class FtpWebResponse : WebResponse, IDisposable
System\Net\HttpWebResponse.cs (1)
22public class HttpWebResponse : WebResponse, ISerializable
73 references to WebResponse
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExchangeClient.cs (1)
763Task<WebResponse> task = request.GetResponseAsync();
netstandard (1)
netstandard.cs (1)
1307[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.WebResponse))]
PresentationCore (20)
MS\Internal\AppModel\CookieHandler.cs (1)
61internal static void HandleWebResponse(WebResponse response)
MS\Internal\AppModel\SiteOfOriginPart.cs (1)
178WebResponse response = WpfWebRequestHelper.CreateRequestAndGetResponse(_absoluteLocation);
MS\Internal\FontCache\FontSource.cs (2)
185WebResponse response = WpfWebRequestHelper.CreateRequestAndGetResponse(_fontUri); 260WebResponse response = request.GetResponse();
MS\Internal\IO\Packaging\NetStream.cs (1)
72WebRequest originalRequest, WebResponse originalResponse)
MS\Internal\IO\Packaging\PseudoWebRequest.cs (1)
80public override WebResponse GetResponse()
MS\Internal\WpfWebRequestHelper.cs (9)
166internal static void HandleWebResponse(WebResponse response) 182internal static WebResponse CreateRequestAndGetResponse(Uri uri) 188internal static WebResponse GetResponse(WebRequest request) 190WebResponse response = request.GetResponse(); 208internal static WebResponse EndGetResponse(WebRequest request, IAsyncResult ar) 210WebResponse response = request.EndGetResponse(ar); 226WebResponse response = GetResponse(request); 235WebResponse response = GetResponse(request); 248internal static ContentType GetContentType(WebResponse response)
System\IO\Packaging\PackWebRequest.cs (1)
110public override WebResponse GetResponse()
System\IO\Packaging\PackWebResponse.cs (2)
281public WebResponse InnerResponse 938private WebResponse _fullResponse; // the real web response
System\Windows\Media\Imaging\BitmapDecoder.cs (1)
1027WebResponse response = WpfWebRequestHelper.CreateRequestAndGetResponse(uri);
System\Windows\Media\Imaging\BitmapDownload.cs (1)
247WebResponse response = WpfWebRequestHelper.EndGetResponse(entry.webRequest, result);
PresentationFramework (11)
System\Windows\Data\XmlDataProvider.cs (1)
572WebResponse response = WpfWebRequestHelper.GetResponse(request);
System\Windows\Navigation\NavigationEventArgs.cs (3)
32internal NavigationEventArgs(Uri uri, Object content, Object extraData, WebResponse response, object Navigator, bool isNavigationInitiator) 100public WebResponse WebResponse 122private WebResponse _webResponse;
System\Windows\Navigation\NavigationFailedEventArgs.cs (3)
32internal NavigationFailedEventArgs(Uri uri, Object extraData, Object navigator, WebRequest request, WebResponse response, Exception e) 89public WebResponse WebResponse 127WebResponse _response;
System\Windows\Navigation\NavigationService.cs (4)
2670WebResponse response = null; 2863WebResponse response = null; 2898private void GetObjectFromResponse(WebRequest request, WebResponse response, Uri destinationUri, Object navState) 4085private WebResponse _webResponse;
System (1)
src\libraries\shims\System\ref\System.cs (1)
799[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.WebResponse))]
System.Net (1)
System.Net.cs (1)
55[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.WebResponse))]
System.Net.Requests (26)
System\Net\FileWebRequest.cs (8)
194private WebResponse CreateResponse() 221Task<WebResponse> t = Task.Factory.StartNew(s => ((FileWebRequest)s!).CreateResponse(), 226public override Task<WebResponse> GetResponseAsync() 232WebResponse response = thisRef.CreateResponse(); 245public override WebResponse EndGetResponse(IAsyncResult asyncResult) 247WebResponse response = TaskToAsyncResult.End<WebResponse>(asyncResult); 267public override WebResponse GetResponse()
System\Net\FtpWebRequest.cs (2)
522public override WebResponse GetResponse() 680public override WebResponse EndGetResponse(IAsyncResult asyncResult)
System\Net\HttpWebRequest.cs (7)
74private TaskCompletionSource<WebResponse>? _responseOperation; 1052public override WebResponse GetResponse() 1236private async Task<WebResponse> HandleResponse(bool async) 1412public override WebResponse EndGetResponse(IAsyncResult asyncResult) 1416if (asyncResult == null || !(asyncResult is Task<WebResponse>)) 1426WebResponse response; 1429response = ((Task<WebResponse>)asyncResult).GetAwaiter().GetResult();
System\Net\HttpWebResponse.cs (1)
19/// <see cref='System.Net.WebResponse'/> class.
System\Net\WebException.cs (3)
20private readonly WebResponse? _response; 44WebResponse? response) : 65public WebResponse? Response => _response;
System\Net\WebRequest.cs (4)
493public virtual WebResponse GetResponse() 503public virtual WebResponse EndGetResponse(IAsyncResult asyncResult) 529public virtual async Task<WebResponse> GetResponseAsync() 534return await Task<WebResponse>.Factory.FromAsync(
System\Net\WebResponse.cs (1)
20/// instance of the <see cref='System.Net.WebResponse'/>
System.Net.WebClient (10)
System\Net\WebClient.cs (10)
31private WebResponse? _webResponse; 254protected virtual WebResponse GetWebResponse(WebRequest request) 256WebResponse response = request.GetResponse(); 261protected virtual WebResponse GetWebResponse(WebRequest request, IAsyncResult result) 263WebResponse response = request.EndGetResponse(result); 268private async Task<WebResponse> GetWebResponseTaskAsync(WebRequest request) 370WebResponse response = _webResponse = GetWebResponse(request); 830WebResponse response = _webResponse = GetWebResponse(request); 877WebResponse response = _webResponse = await GetWebResponseTaskAsync(request).ConfigureAwait(false); 1207WebResponse response = _webResponse = GetWebResponse(request, iar);
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\Reference.cs (1)
372WebResponse? response = null;
System.Windows.Forms (1)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
659WebResponse webResponse = req.EndGetResponse(result);