4 types derived from WebResponse
PresentationCore (1)
System\IO\Packaging\PackWebResponse.cs (1)
30public sealed class PackWebResponse: WebResponse
System.Net.Requests (3)
artifacts\obj\System.Net.Requests\Debug\net10.0\System.Net.Requests.notsupported.cs (3)
63public partial class FileWebResponse : System.Net.WebResponse, System.Runtime.Serialization.ISerializable 154public partial class FtpWebResponse : System.Net.WebResponse, System.IDisposable 251public partial class HttpWebResponse : System.Net.WebResponse, System.Runtime.Serialization.ISerializable
61 references to WebResponse
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExchangeClient.cs (1)
763Task<WebResponse> task = request.GetResponseAsync();
IIS.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\WindowsAuthTests.cs (1)
94using var response = request.GetResponse();
IISExpress.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\WindowsAuthTests.cs (1)
94using var response = request.GetResponse();
netstandard (1)
netstandard.cs (1)
1307[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.WebResponse))]
PresentationCore (20)
MS\Internal\AppModel\CookieHandler.cs (1)
60internal static void HandleWebResponse(WebResponse response)
MS\Internal\AppModel\SiteOfOriginPart.cs (1)
177WebResponse response = WpfWebRequestHelper.CreateRequestAndGetResponse(_absoluteLocation);
MS\Internal\FontCache\FontSource.cs (2)
184WebResponse response = WpfWebRequestHelper.CreateRequestAndGetResponse(_fontUri); 259WebResponse response = request.GetResponse();
MS\Internal\IO\Packaging\NetStream.cs (1)
71WebRequest originalRequest, WebResponse originalResponse)
MS\Internal\IO\Packaging\PseudoWebRequest.cs (1)
79public override WebResponse GetResponse()
MS\Internal\WpfWebRequestHelper.cs (9)
154internal static void HandleWebResponse(WebResponse response) 170internal static WebResponse CreateRequestAndGetResponse(Uri uri) 176internal static WebResponse GetResponse(WebRequest request) 178WebResponse response = request.GetResponse(); 196internal static WebResponse EndGetResponse(WebRequest request, IAsyncResult ar) 198WebResponse response = request.EndGetResponse(ar); 214WebResponse response = GetResponse(request); 223WebResponse response = GetResponse(request); 236internal static ContentType GetContentType(WebResponse response)
System\IO\Packaging\PackWebRequest.cs (1)
109public override WebResponse GetResponse()
System\IO\Packaging\PackWebResponse.cs (2)
278public WebResponse InnerResponse 926private WebResponse _fullResponse; // the real web response
System\Windows\Media\Imaging\BitmapDecoder.cs (1)
1021WebResponse response = WpfWebRequestHelper.CreateRequestAndGetResponse(uri);
System\Windows\Media\Imaging\BitmapDownload.cs (1)
239WebResponse response = WpfWebRequestHelper.EndGetResponse(entry.webRequest, result);
PresentationFramework (11)
System\Windows\Data\XmlDataProvider.cs (1)
567WebResponse response = WpfWebRequestHelper.GetResponse(request);
System\Windows\Navigation\NavigationEventArgs.cs (3)
31internal NavigationEventArgs(Uri uri, Object content, Object extraData, WebResponse response, object Navigator, bool isNavigationInitiator) 99public WebResponse WebResponse 121private WebResponse _webResponse;
System\Windows\Navigation\NavigationFailedEventArgs.cs (3)
31internal NavigationFailedEventArgs(Uri uri, Object extraData, Object navigator, WebRequest request, WebResponse response, Exception e) 88public WebResponse WebResponse 126private WebResponse _response;
System\Windows\Navigation\NavigationService.cs (4)
2613WebResponse response = null; 2806WebResponse response = null; 2841private void GetObjectFromResponse(WebRequest request, WebResponse response, Uri destinationUri, Object navState) 4022private 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 (12)
artifacts\obj\System.Net.Requests\Debug\net10.0\System.Net.Requests.notsupported.cs (12)
53public override System.Net.WebResponse EndGetResponse(System.IAsyncResult asyncResult) { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); } 58public override System.Net.WebResponse GetResponse() { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); } 59public override System.Threading.Tasks.Task<System.Net.WebResponse> GetResponseAsync() { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); } 150public override System.Net.WebResponse EndGetResponse(System.IAsyncResult asyncResult) { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); } 152public override System.Net.WebResponse GetResponse() { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); } 242public override System.Net.WebResponse EndGetResponse(System.IAsyncResult asyncResult) { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); } 247public override System.Net.WebResponse GetResponse() { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); } 318public WebException(string? message, System.Exception? innerException, System.Net.WebExceptionStatus status, System.Net.WebResponse? response) { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); } 320public System.Net.WebResponse? Response { get { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); } } 389public virtual System.Net.WebResponse EndGetResponse(System.IAsyncResult asyncResult) { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); } 394public virtual System.Net.WebResponse GetResponse() { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); } 395public virtual System.Threading.Tasks.Task<System.Net.WebResponse> GetResponseAsync() { throw new System.PlatformNotSupportedException(System.SR.SystemNetRequests_PlatformNotSupported); }
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)
366WebResponse? response = null;
System.Windows.Forms (1)
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
657WebResponse webResponse = req.EndGetResponse(result);