WebProxy.GetDefaultProxy Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Dikkat
WebProxy.GetDefaultProxy has been deprecated. Use the proxy selected for you by default.
Dikkat
This method has been deprecated. Please use the proxy selected for you by default. https://go.microsoft.com/fwlink/?linkid=14202
Dikkat
This method has been deprecated. Please use the proxy selected for you by default. http://go.microsoft.com/fwlink/?linkid=14202
İnternet seçenekleri dinamik olmayan ara sunucu ayarlarını okur.
public:
static System::Net::WebProxy ^ GetDefaultProxy();
[System.Obsolete("WebProxy.GetDefaultProxy has been deprecated. Use the proxy selected for you by default.")]
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();
[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();
public static System.Net.WebProxy GetDefaultProxy();
[<System.Obsolete("WebProxy.GetDefaultProxy has been deprecated. Use the proxy selected for you by default.")>]
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
[<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
static member GetDefaultProxy : unit -> System.Net.WebProxy
Public Shared Function GetDefaultProxy () As WebProxy
Döndürülenler
WebProxy İnternet seçeneklerinden dinamik olmayan ara sunucu ayarlarını içeren bir örnek.
- Öznitelikler
Özel durumlar
.NET Core'da.
Açıklamalar
yöntemi, GetDefaultProxy bilgisayarın İnternet seçeneklerinden dinamik olmayan ara sunucu ayarlarını okur ve bu ayarlarla bir WebProxy örnek oluşturur.
GetDefaultProxy yöntemi, Internet Explorer tarafından çalıştırılan betiklerden, otomatik yapılandırma girdilerinden veya DHCP veya DNS aramalarından oluşturulan dinamik ayarları almaz.
Uygulamalar yöntemi yerine HttpClient.DefaultProxy özelliğini kullanmalıdırGetDefaultProxy.
Note
Bu özellik .NET Core'da desteklenmez.