Constructor ProxyCredential
ProxyCredential(Uri, String, NetworkCredential)
Initializes a new instance of the Proxy
Declaration
public ProxyCredential(Uri serviceUri, string authType, NetworkCredential credentials)
Parameters
Type | Name | Description |
---|---|---|
System. |
serviceUri | The proxy service accessed by this credential. |
System. |
authType | The HTTP authentication scheme used by the proxy. |
System. |
credentials | The credentials to submit to the proxy server for authentication. |
Exceptions
Type | Condition |
---|---|
System. |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.10 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.10 - 200.6 |
Xamarin.Android | 100.10 - 100.14 |
Xamarin.iOS | 100.10 - 100.15 |
UWP | 100.10 - 200.6 |
ProxyCredential(String, String, NetworkCredential)
Initializes a new instance of the Proxy
Declaration
public ProxyCredential(string serviceUrl, string authType, NetworkCredential credentials)
Parameters
Type | Name | Description |
---|---|---|
System. |
serviceUrl | The proxy service accessed by this credential. |
System. |
authType | The HTTP authentication scheme used by the proxy. |
System. |
credentials | The credentials to submit to the proxy server for authentication. |
Exceptions
Type | Condition |
---|---|
System. |
|
System. |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.14 - 200.6 |
.NET | 100.14 - 200.6 |
.NET Windows | 100.14 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.14 - 200.6 |
Xamarin.Android | 100.14 |
Xamarin.iOS | 100.14 - 100.15 |
UWP | 100.14 - 200.6 |
ProxyCredential(Uri, String, String, String)
Initializes a new instance of the Proxy
Declaration
public ProxyCredential(Uri serviceUri, string authType, string username, string password)
Parameters
Type | Name | Description |
---|---|---|
System. |
serviceUri | The URI of the proxy service accessed by this credential. |
System. |
authType | The HTTP authentication scheme used by the proxy. |
System. |
username | The user name. |
System. |
password | The password. |
Exceptions
Type | Condition |
---|---|
System. |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.14 - 200.6 |
.NET | 100.14 - 200.6 |
.NET Windows | 100.14 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.14 - 200.6 |
Xamarin.Android | 100.14 |
Xamarin.iOS | 100.14 - 100.15 |
UWP | 100.14 - 200.6 |
ProxyCredential(String, String, String, String)
Initializes a new instance of the Proxy
Declaration
public ProxyCredential(string serviceUrl, string authType, string username, string password)
Parameters
Type | Name | Description |
---|---|---|
System. |
serviceUrl | The proxy service accessed by this credential. |
System. |
authType | The HTTP authentication scheme used by the proxy. |
System. |
username | The user name. |
System. |
password | The password. |
Exceptions
Type | Condition |
---|---|
System. |
|
System. |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.14 - 200.6 |
.NET | 100.14 - 200.6 |
.NET Windows | 100.14 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.14 - 200.6 |
Xamarin.Android | 100.14 |
Xamarin.iOS | 100.14 - 100.15 |
UWP | 100.14 - 200.6 |
ProxyCredential(Uri, String, String, String, String)
Initializes a new instance of the Proxy
Declaration
public ProxyCredential(Uri serviceUri, string authType, string username, string password, string domain)
Parameters
Type | Name | Description |
---|---|---|
System. |
serviceUri | The proxy service accessed by this credential. |
System. |
authType | The HTTP authentication scheme used by the proxy. |
System. |
username | The user name. |
System. |
password | The password. |
System. |
domain | The domain. |
Exceptions
Type | Condition |
---|---|
System. |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.14 - 200.6 |
.NET | 100.14 - 200.6 |
.NET Windows | 100.14 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.14 - 200.6 |
Xamarin.Android | 100.14 |
Xamarin.iOS | 100.14 - 100.15 |
UWP | 100.14 - 200.6 |
ProxyCredential(String, String, String, String, String)
Initializes a new instance of the Proxy
Declaration
public ProxyCredential(string serviceUrl, string authType, string username, string password, string domain)
Parameters
Type | Name | Description |
---|---|---|
System. |
serviceUrl | The proxy service accessed by this credential. |
System. |
authType | The HTTP authentication scheme used by the proxy. |
System. |
username | The user name. |
System. |
password | The password. |
System. |
domain | The domain. |
Exceptions
Type | Condition |
---|---|
System. |
|
System. |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.14 - 200.6 |
.NET | 100.14 - 200.6 |
.NET Windows | 100.14 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.14 - 200.6 |
Xamarin.Android | 100.14 |
Xamarin.iOS | 100.14 - 100.15 |
UWP | 100.14 - 200.6 |