WebProxy.GetDefaultProxy 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
주의
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 인터넷 옵션의 비역학적 프록시 설정이 포함된 인스턴스입니다.
- 특성
예외
.NET Core에서.
설명
이 메서드는 GetDefaultProxy 컴퓨터의 인터넷 옵션에서 비역학적 프록시 설정을 읽고 해당 설정을 사용하여 인스턴스를 WebProxy 만듭니다.
GetDefaultProxy 메서드는 Internet Explorer 실행하는 스크립트, 자동 구성 항목 또는 DHCP 또는 DNS 조회에서 생성된 동적 설정을 선택하지 않습니다.
애플리케이션은 메서드 대신 GetDefaultProxy 속성을 사용해야 HttpClient.DefaultProxy 합니다.
Note
이 속성은 .NET Core에서 지원되지 않습니다.