WebProxy.GetDefaultProxy 메서드

정의

주의

This method has been deprecated. Please use the proxy selected for you by default. http://go.microsoft.com/fwlink/?linkid=14202

주의

This method has been deprecated. Please use the proxy selected for you by default. https://go.microsoft.com/fwlink/?linkid=14202

인터넷 옵션 비역학적 프록시 설정을 읽습니다.

public:
 static System::Net::WebProxy ^ GetDefaultProxy();
public static System.Net.WebProxy GetDefaultProxy();
[System.Obsolete("This method has been deprecated. Please use the proxy selected for you by default. http://go.microsoft.com/fwlink/?linkid=14202")]
public static System.Net.WebProxy GetDefaultProxy();
[System.Obsolete("This method has been deprecated. Please use the proxy selected for you by default. https://go.microsoft.com/fwlink/?linkid=14202")]
public static System.Net.WebProxy GetDefaultProxy();
static member GetDefaultProxy : unit -> System.Net.WebProxy
[<System.Obsolete("This method has been deprecated. Please use the proxy selected for you by default. http://go.microsoft.com/fwlink/?linkid=14202")>]
static member GetDefaultProxy : unit -> System.Net.WebProxy
[<System.Obsolete("This method has been deprecated. Please use the proxy selected for you by default. https://go.microsoft.com/fwlink/?linkid=14202")>]
static member GetDefaultProxy : unit -> System.Net.WebProxy
Public Shared Function GetDefaultProxy () As WebProxy

반품

WebProxy 인터넷 옵션의 비역학적 프록시 설정이 포함된 인스턴스입니다.

특성

예외

설명

이 메서드는 GetDefaultProxy 컴퓨터의 인터넷 옵션에서 비역학적 프록시 설정을 읽고 해당 설정을 사용하여 인스턴스를 WebProxy 만듭니다.

GetDefaultProxy 메서드는 Internet Explorer 실행하는 스크립트, 자동 구성 항목 또는 DHCP 또는 DNS 조회에서 생성된 동적 설정을 선택하지 않습니다.

애플리케이션은 메서드 대신 GetDefaultProxy 속성을 사용해야 HttpClient.DefaultProxy 합니다.

Note

이 속성은 .NET Core에서 지원되지 않습니다.

적용 대상