Skip to content

Commit d73e8d9

Browse files
authored
remove references to IE where possible (#8943)
1 parent 36401bd commit d73e8d9

File tree

7 files changed

+25
-33
lines changed

7 files changed

+25
-33
lines changed

xml/System.Net.Configuration/ProxyElement.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@
2222
## Remarks
2323
The following table shows the configuration attributes of the [<proxy> Element (Network Settings)](/dotnet/framework/configure-apps/file-schema/network/proxy-element-network-settings) configuration element to which this class corresponds.
2424
25-
|Element|Description|
26-
|-------------|-----------------|
27-
|`proxyaddress`|A URI that identifies the Web proxy server to use.|
28-
|`bypassonlocal`|Determines whether the Web proxy is bypassed for local resources.|
29-
|`usesystemdefault`|Controls whether the Internet Explorer Web proxy settings are used.|
25+
| Element | Description |
26+
| ------------------ | ------------------------------------------------------------------ |
27+
| `proxyaddress` | A URI that identifies the Web proxy server to use. |
28+
| `bypassonlocal` | Determines whether the Web proxy is bypassed for local resources. |
29+
| `usesystemdefault` | Controls whether the Internet options Web proxy settings are used. |
3030
3131
This class is used to specify and configure the Web proxy server to use for requests made with the <xref:System.Net.WebRequest> and <xref:System.Net.WebClient> classes.
3232
@@ -239,9 +239,9 @@
239239
<ReturnType>System.Net.Configuration.ProxyElement+UseSystemDefaultValues</ReturnType>
240240
</ReturnValue>
241241
<Docs>
242-
<summary>Gets or sets a <see cref="T:System.Boolean" /> value that controls whether the Internet Explorer Web proxy settings are used.</summary>
242+
<summary>Gets or sets a value that controls whether the Internet options Web proxy settings are used.</summary>
243243
<value>
244-
<see langword="true" /> if the Internet Explorer LAN settings are used to detect and configure the default <see cref="T:System.Net.WebProxy" /> used for requests; otherwise, <see langword="false" />.</value>
244+
<see langword="true" /> if the Internet options LAN settings are used to detect and configure the default <see cref="T:System.Net.WebProxy" /> used for requests; otherwise, <see langword="false" />.</value>
245245
<remarks>To be added.</remarks>
246246
<altmember cref="T:System.Net.WebProxy" />
247247
<related type="Article" href="/dotnet/framework/configure-apps/file-schema/network/">Network Settings Schema</related>

xml/System.Net.Http/HttpClientHandler.xml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,17 +1001,13 @@ handler.ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousA
10011001
## Remarks
10021002
The <xref:System.Net.Http.HttpClientHandler.Proxy%2A> property identifies the <xref:System.Net.WebProxy> object to use to process requests to Internet resources. To specify that no proxy should be used, set the <xref:System.Net.Http.HttpClientHandler.Proxy%2A> property to the proxy instance returned by the <xref:System.Net.GlobalProxySelection.GetEmptyWebProxy%2A> method.
10031003
1004-
The local computer or application config file may specify that a default proxy be used. If the <xref:System.Net.Http.HttpClientHandler.Proxy%2A> property is specified, then the proxy settings from the <xref:System.Net.Http.HttpClientHandler.Proxy%2A> property override the local computer or application config file and the handler will use the proxy settings specified. If no proxy is specified in a config file and the <xref:System.Net.Http.HttpClientHandler.Proxy%2A> property is unspecified, the handler uses the proxy settings inherited from Internet Explorer on the local computer. If there are no proxy settings in Internet Explorer, the request is sent directly to the server.
1005-
1006-
The <xref:System.Net.Http.HttpClientHandler> class parses a proxy bypass list with wildcard characters inherited from Internet Explorer the same as the bypass list is parsed directly by Internet Explorer. For example, the <xref:System.Net.Http.HttpClientHandler> class will parse a bypass list of "nt*" from Internet Explorer as a regular expression of "nt.\*". So a URL of `http://nt.com` would bypass the proxy using the <xref:System.Net.Http.HttpClientHandler> class and using Internet Explorer.
1004+
The local computer or application config file may specify that a default proxy be used. If the <xref:System.Net.Http.HttpClientHandler.Proxy%2A> property is specified, then the proxy settings from the <xref:System.Net.Http.HttpClientHandler.Proxy%2A> property override the local computer or application config file and the handler will use the proxy settings specified. If no proxy is specified in a config file and the <xref:System.Net.Http.HttpClientHandler.Proxy%2A> property is unspecified, the handler uses the proxy settings inherited from Internet options on the local computer. If there are no proxy settings in Internet options, the request is sent directly to the server.
10071005
10081006
The <xref:System.Net.Http.HttpClientHandler> class supports local proxy bypass. The class considers a destination to be local if any of the following conditions are met:
10091007
1010-
1. The destination contains a flat name (no dots in the URL).
1011-
1012-
2. The destination contains a loopback address (<xref:System.Net.IPAddress.Loopback> or <xref:System.Net.IPAddress.IPv6Loopback>) or the destination contains an <xref:System.Net.IPAddress> assigned to the local computer.
1013-
1014-
3. The domain suffix of the destination matches the local computer's domain suffix (<xref:System.Net.NetworkInformation.IPGlobalProperties.DomainName%2A>).
1008+
- The destination contains a flat name (no dots in the URL).
1009+
- The destination contains a loopback address (<xref:System.Net.IPAddress.Loopback> or <xref:System.Net.IPAddress.IPv6Loopback>) or the destination contains an <xref:System.Net.IPAddress> assigned to the local computer.
1010+
- The domain suffix of the destination matches the local computer's domain suffix (<xref:System.Net.NetworkInformation.IPGlobalProperties.DomainName%2A>).
10151011
10161012
]]></format>
10171013
</remarks>

xml/System.Net.Http/WindowsProxyUsePolicy.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
</ReturnValue>
138138
<MemberValue>2</MemberValue>
139139
<Docs>
140-
<summary>This value indicates that the current proxy configuration of the WinINet API on the machine is used. The proxy settings can be configured using the Internet Explorer Options and supports WPAD and PAC files.</summary>
140+
<summary>This value indicates that the current proxy configuration of the WinINet API on the machine is used. The proxy settings can be configured using Internet options and supports WPAD and PAC files.</summary>
141141
</Docs>
142142
</Member>
143143
</Members>

xml/System.Net/HttpWebRequest.xml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
## Remarks
7979
8080
> [!IMPORTANT]
81-
> We don't recommend that you use `HttpWebRequest` for new development. Instead, use the <xref:System.Net.Http.HttpClient?displayProperty=nameWithType> class.
81+
> We recommend that you don't use `HttpWebRequest` for new development. Instead, use the <xref:System.Net.Http.HttpClient?displayProperty=nameWithType> class.
8282
8383
The <xref:System.Net.HttpWebRequest> class provides support for the properties and methods defined in <xref:System.Net.WebRequest> and for additional properties and methods that enable the user to interact directly with servers using HTTP.
8484
@@ -114,9 +114,7 @@
114114
> [!NOTE]
115115
> <xref:System.Net.HttpWebRequest> is registered automatically. You do not need to call the <xref:System.Net.WebRequest.RegisterPrefix%2A> method to register <xref:System.Net.HttpWebRequest?displayProperty=nameWithType> before using URIs beginning with `http://` or `https://`.
116116
117-
The local computer or application config file may specify that a default proxy be used. If the <xref:System.Net.HttpWebRequest.Proxy%2A> property is specified, then the proxy settings from the <xref:System.Net.HttpWebRequest.Proxy%2A> property override the local computer or application config file and the <xref:System.Net.HttpWebRequest> instance will use the proxy settings specified. If no proxy is specified in a config file and the <xref:System.Net.HttpWebRequest.Proxy%2A> property is unspecified, the <xref:System.Net.HttpWebRequest> class uses the proxy settings inherited from Internet Explorer on the local computer. If there are no proxy settings in Internet Explorer, the request is sent directly to the server.
118-
119-
The <xref:System.Net.HttpWebRequest> class parses a proxy bypass list with wildcard characters inherited from Internet Explorer differently than the bypass list is parsed directly by Internet Explorer. For example, the <xref:System.Net.HttpWebRequest> class will parse a bypass list of "nt*" from Internet Explorer as a regular expression of "nt.$". This differs from the native behavior of Internet Explorer. So a URL of "`http://intxxxxx`" would bypass the proxy using the <xref:System.Net.HttpWebRequest> class, but would not bypass the proxy using Internet Explorer.
117+
The local computer or application config file may specify that a default proxy be used. If the <xref:System.Net.HttpWebRequest.Proxy%2A> property is specified, then the proxy settings from the <xref:System.Net.HttpWebRequest.Proxy%2A> property override the local computer or application config file and the <xref:System.Net.HttpWebRequest> instance will use the proxy settings specified. If no proxy is specified in a config file and the <xref:System.Net.HttpWebRequest.Proxy%2A> property is unspecified, the <xref:System.Net.HttpWebRequest> class uses the proxy settings inherited from Internet options on the local computer. If there are no proxy settings in Internet options, the request is sent directly to the server.
120118
121119
> [!NOTE]
122120
> The Framework caches SSL sessions as they are created and attempts to reuse a cached session for a new request, if possible. When attempting to reuse an SSL session, the Framework uses the first element of <xref:System.Net.HttpWebRequest.ClientCertificates%2A> (if there is one), or tries to reuse an anonymous sessions if <xref:System.Net.HttpWebRequest.ClientCertificates%2A> is empty.
@@ -4324,9 +4322,7 @@ The GetHashCode method returns a hash code of the web request. This value can be
43244322
## Remarks
43254323
The <xref:System.Net.HttpWebRequest.Proxy%2A> property identifies the <xref:System.Net.WebProxy> object to use to process requests to Internet resources. To specify that no proxy should be used, set the <xref:System.Net.HttpWebRequest.Proxy%2A> property to the proxy instance returned by the <xref:System.Net.GlobalProxySelection.GetEmptyWebProxy%2A?displayProperty=nameWithType> method.
43264324
4327-
The local computer or application config file may specify that a default proxy be used. If the <xref:System.Net.HttpWebRequest.Proxy%2A> property is specified, then the proxy settings from the <xref:System.Net.HttpWebRequest.Proxy%2A> property override the local computer or application config file and the <xref:System.Net.HttpWebRequest> instance will use the proxy settings specified. If no proxy is specified in a config file and the <xref:System.Net.HttpWebRequest.Proxy%2A> property is unspecified, the <xref:System.Net.HttpWebRequest> class uses the proxy settings inherited from Internet Explorer on the local computer. If there are no proxy settings in Internet Explorer, the request is sent directly to the server.
4328-
4329-
The <xref:System.Net.HttpWebRequest> class parses a proxy bypass list with wildcard characters inherited from Internet Explorer the same as the bypass list is parsed directly by Internet Explorer. For example, the <xref:System.Net.HttpWebRequest> class will parse a bypass list of "nt*" from Internet Explorer as a regular expression of "nt.\*". So a URL of "`http://nt.com`" would bypass the proxy using the <xref:System.Net.HttpWebRequest> class and using Internet Explorer.
4325+
The local computer or application config file may specify that a default proxy be used. If the <xref:System.Net.HttpWebRequest.Proxy%2A> property is specified, then the proxy settings from the <xref:System.Net.HttpWebRequest.Proxy%2A> property override the local computer or application config file and the <xref:System.Net.HttpWebRequest> instance will use the proxy settings specified. If no proxy is specified in a config file and the <xref:System.Net.HttpWebRequest.Proxy%2A> property is unspecified, the <xref:System.Net.HttpWebRequest> class uses the proxy settings inherited from Internet options on the local computer. If there are no proxy settings in Internet options, the request is sent directly to the server.
43304326
43314327
The <xref:System.Net.HttpWebRequest> class supports local proxy bypass. The class considers a destination to be local if any of the following conditions are met:
43324328

xml/System.Net/WebClient.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5230,7 +5230,7 @@ internal class MyWebClient : WebClientProtocol
52305230
<format type="text/markdown"><![CDATA[
52315231

52325232
## Remarks
5233-
The <xref:System.Net.WebClient.Proxy%2A> property identifies the <xref:System.Net.IWebProxy> instance that communicates with remote servers on behalf of this <xref:System.Net.WebClient> object. The proxy is set by the system using configuration files and the Internet Explorer Local Area Network settings. To specify that no proxy should be used, set the <xref:System.Net.WebClient.Proxy%2A> property to `null`.
5233+
The <xref:System.Net.WebClient.Proxy%2A> property identifies the <xref:System.Net.IWebProxy> instance that communicates with remote servers on behalf of this <xref:System.Net.WebClient> object. The proxy is set by the system using configuration files and the Local Area Network settings. To specify that no proxy should be used, set the <xref:System.Net.WebClient.Proxy%2A> property to `null`.
52345234

52355235
For information on automatic proxy detection, see [Automatic Proxy Detection](/dotnet/framework/network-programming/automatic-proxy-detection).
52365236

xml/System.Net/WebProxy.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@
8282
8383
These methods each supply a <xref:System.Net.WebProxy> instance that you can further customize; the difference between them is how the instance is initialized before it is returned to your application. The <xref:System.Net.WebProxy.%23ctor%2A> constructor returns an instance of the <xref:System.Net.WebProxy> class with the <xref:System.Net.WebProxy.Address%2A> property set to `null`. When a request uses a <xref:System.Net.WebProxy> instance in this state, no proxy is used to send the request.
8484
85-
The <xref:System.Net.WebProxy.GetDefaultProxy%2A> method returns an instance of the <xref:System.Net.WebProxy> class with the <xref:System.Net.WebProxy.Address%2A>, <xref:System.Net.WebProxy.BypassProxyOnLocal%2A>, and <xref:System.Net.WebProxy.BypassList%2A> properties set to the values used by Internet Explorer 5.5 and later.
85+
The <xref:System.Net.WebProxy.GetDefaultProxy%2A> method returns an instance of the <xref:System.Net.WebProxy> class with the <xref:System.Net.WebProxy.Address%2A>, <xref:System.Net.WebProxy.BypassProxyOnLocal%2A>, and <xref:System.Net.WebProxy.BypassList%2A> properties set to the values used by the local computer.
8686
87-
The <xref:System.Net.GlobalProxySelection.Select%2A> method returns an instance of the <xref:System.Net.WebProxy> class with it properties set according to a combination of Internet Explorer and configuration file settings.
87+
The <xref:System.Net.GlobalProxySelection.Select%2A> method returns an instance of the <xref:System.Net.WebProxy> class with it properties set according to a combination of Internet and configuration file settings.
8888
8989
The <xref:System.Net.WebProxy> class supports automatic detection and execution of proxy configuration scripts. This feature is also known as Web Proxy Auto-Discovery (WPAD). When using automatic proxy configuration, a configuration script, typically named Wpad.dat, must be located, downloaded, compiled, and run. If these operations are successful, the script returns the proxies that can be used for a request.
9090
@@ -1215,13 +1215,13 @@
12151215
</ReturnValue>
12161216
<Parameters />
12171217
<Docs>
1218-
<summary>Reads the Internet Explorer nondynamic proxy settings.</summary>
1219-
<returns>A <see cref="T:System.Net.WebProxy" /> instance that contains the nondynamic proxy settings from Internet Explorer 5.5 and later.</returns>
1218+
<summary>Reads the Internet options nondynamic proxy settings.</summary>
1219+
<returns>A <see cref="T:System.Net.WebProxy" /> instance that contains the nondynamic proxy settings from Internet options.</returns>
12201220
<remarks>
12211221
<format type="text/markdown"><![CDATA[
12221222
12231223
## Remarks
1224-
The <xref:System.Net.WebProxy.GetDefaultProxy%2A> method reads the nondynamic proxy settings stored by Internet Explorer 5.5 and later, and creates a <xref:System.Net.WebProxy> instance with those settings.
1224+
The <xref:System.Net.WebProxy.GetDefaultProxy%2A> method reads the nondynamic proxy settings from the computer's Internet options and creates a <xref:System.Net.WebProxy> instance with those settings.
12251225
12261226
The <xref:System.Net.WebProxy.GetDefaultProxy%2A> method does not pick up any dynamic settings that are generated from scripts run by Internet Explorer, from automatic configuration entries, or from DHCP or DNS lookups.
12271227

xml/System.Net/WebRequest.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1558,7 +1558,7 @@ This property allows an application to determine which <xref:System.Net.IWebRequ
15581558
## Remarks
15591559
The <xref:System.Net.WebRequest.DefaultWebProxy%2A> property gets or sets the global proxy. The <xref:System.Net.WebRequest.DefaultWebProxy%2A> property determines the default proxy that all <xref:System.Net.WebRequest> instances use if the request supports proxies and no proxy is set explicitly using the <xref:System.Net.HttpWebRequest.Proxy%2A> property. Proxies are currently supported by <xref:System.Net.FtpWebRequest> and <xref:System.Net.HttpWebRequest>.
15601560
1561-
The <xref:System.Net.WebRequest.DefaultWebProxy%2A> property reads proxy settings from the app.config file. If there is no config file, the current user's Internet Explorer (IE) proxy settings are used.
1561+
The <xref:System.Net.WebRequest.DefaultWebProxy%2A> property reads proxy settings from the app.config file. If there is no config file, the current user's Internet options proxy settings are used.
15621562
15631563
If the <xref:System.Net.WebRequest.DefaultWebProxy%2A> property is set to null, all subsequent instances of the <xref:System.Net.WebRequest> class created by the <xref:System.Net.WebRequest.Create%2A> or <xref:System.Net.WebRequest.CreateDefault%2A> methods do not have a proxy.
15641564
@@ -2060,15 +2060,15 @@ This property allows an application to determine which <xref:System.Net.IWebRequ
20602060
</ReturnValue>
20612061
<Parameters />
20622062
<Docs>
2063-
<summary>Returns a proxy configured with the Internet Explorer settings of the currently impersonated user.</summary>
2063+
<summary>Returns a proxy configured with the Internet options settings of the currently impersonated user.</summary>
20642064
<returns>An <see cref="T:System.Net.IWebProxy" /> used by every call to instances of <see cref="T:System.Net.WebRequest" />.</returns>
20652065
<remarks>
20662066
<format type="text/markdown"><![CDATA[
20672067
20682068
## Remarks
2069-
<xref:System.Net.WebRequest.GetSystemWebProxy%2A> method reads the current user's Internet Explorer (IE) proxy settings. This process includes the IE options to automatically detect proxy settings, use an automatic configuration script, manual proxy server settings, and advanced manual proxy server settings.
2069+
<xref:System.Net.WebRequest.GetSystemWebProxy%2A> method reads the current user's Internet options proxy settings. This process includes the options to automatically detect proxy settings, use an automatic configuration script, manual proxy server settings, and advanced manual proxy server settings.
20702070
2071-
If your application is impersonating several users, you can use the <xref:System.Net.WebRequest.GetSystemWebProxy%2A> method to retrieve a proxy for each impersonated user.
2071+
If your application impersonates several users, you can use the <xref:System.Net.WebRequest.GetSystemWebProxy%2A> method to retrieve a proxy for each impersonated user.
20722072
20732073
]]></format>
20742074
</remarks>

0 commit comments

Comments
 (0)