ConnectivityManager.DefaultProxy Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the current default HTTP proxy settings.
public virtual Android.Net.ProxyInfo? DefaultProxy { [Android.Runtime.Register("getDefaultProxy", "()Landroid/net/ProxyInfo;", "GetGetDefaultProxyHandler", ApiSince=23)] get; }
[<get: Android.Runtime.Register("getDefaultProxy", "()Landroid/net/ProxyInfo;", "GetGetDefaultProxyHandler", ApiSince=23)>]
member this.DefaultProxy : Android.Net.ProxyInfo
Property Value
the ProxyInfo
for the current HTTP proxy, or null
if no
HTTP proxy is active.
- Attributes
Remarks
Get the current default HTTP proxy settings. If a global proxy is set it will be returned, otherwise if this process is bound to a Network
using #bindProcessToNetwork
then that Network
's proxy is returned, otherwise the default network's proxy is returned.
Java documentation for android.net.ConnectivityManager.getDefaultProxy()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.