Constructor ProxyCredential
ProxyCredential(Uri, String, NetworkCredential)
Initializes a new instance of the ProxyCredential class.
Declaration
public ProxyCredential(Uri serviceUri, string authType, NetworkCredential credentials)
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | serviceUri | The proxy service accessed by this credential. |
| String | authType | The HTTP authentication scheme used by the proxy. |
| NetworkCredential | credentials | The credentials to submit to the proxy server for authentication. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| UWP | 100.15 |
ProxyCredential(String, String, NetworkCredential)
Initializes a new instance of the ProxyCredential class.
Declaration
public ProxyCredential(string serviceUrl, string authType, NetworkCredential credentials)
Parameters
| Type | Name | Description |
|---|---|---|
| String | serviceUrl | The proxy service accessed by this credential. |
| String | authType | The HTTP authentication scheme used by the proxy. |
| NetworkCredential | credentials | The credentials to submit to the proxy server for authentication. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| UWP | 100.15 |
ProxyCredential(Uri, String, Nullable<String>, Nullable<String>)
Initializes a new instance of the ProxyCredential class with the specified user name and password.
Declaration
public ProxyCredential(Uri serviceUri, string authType, string? username, string? password)
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | serviceUri | The URI of the proxy service accessed by this credential. |
| String | authType | The HTTP authentication scheme used by the proxy. |
| System.Nullable<String> | username | The user name. |
| System.Nullable<String> | password | The password. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| UWP | 100.15 |
ProxyCredential(String, String, Nullable<String>, Nullable<String>)
Initializes a new instance of the ProxyCredential class with the specified user name and password.
Declaration
public ProxyCredential(string serviceUrl, string authType, string? username, string? password)
Parameters
| Type | Name | Description |
|---|---|---|
| String | serviceUrl | The proxy service accessed by this credential. |
| String | authType | The HTTP authentication scheme used by the proxy. |
| System.Nullable<String> | username | The user name. |
| System.Nullable<String> | password | The password. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| UWP | 100.15 |
ProxyCredential(Uri, String, Nullable<String>, Nullable<String>, Nullable<String>)
Initializes a new instance of the ProxyCredential class with the specified user name, password, and domain.
Declaration
public ProxyCredential(Uri serviceUri, string authType, string? username, string? password, string? domain)
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | serviceUri | The proxy service accessed by this credential. |
| String | authType | The HTTP authentication scheme used by the proxy. |
| System.Nullable<String> | username | The user name. |
| System.Nullable<String> | password | The password. |
| System.Nullable<String> | domain | The domain. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| UWP | 100.15 |
ProxyCredential(String, String, Nullable<String>, Nullable<String>, Nullable<String>)
Initializes a new instance of the ProxyCredential class with the specified user name, password, and domain.
Declaration
public ProxyCredential(string serviceUrl, string authType, string? username, string? password, string? domain)
Parameters
| Type | Name | Description |
|---|---|---|
| String | serviceUrl | The proxy service accessed by this credential. |
| String | authType | The HTTP authentication scheme used by the proxy. |
| System.Nullable<String> | username | The user name. |
| System.Nullable<String> | password | The password. |
| System.Nullable<String> | domain | The domain. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| UWP | 100.15 |