Constructor ArcGISNetworkCredential
ArcGISNetworkCredential()
Initializes a new instance of the ArcGISNetworkCredential class.
Declaration
public ArcGISNetworkCredential()
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 100.13 |
| .NET 6.0 | 100.13 |
| .NET 6.0 Windows | 100.13 |
| .NET Framework | 100.0 - 100.13 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.0 - 100.13 |
| Xamarin.iOS | 100.0 - 100.13 |
| UWP | 100.0 - 100.15 |
ArcGISNetworkCredential(Uri, ICredentials)
Initializes a new instance of the ArcGISNetworkCredential class for the specified service with the specified credentials.
Declaration
public ArcGISNetworkCredential(Uri serviceUri, ICredentials credentials)
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | serviceUri | The service that can be accessed with this credential. |
| ICredentials | credentials | The credentials used to access the service with HTTP authentication. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| UWP | 100.15 |
ArcGISNetworkCredential(String, ICredentials)
Initializes a new instance of the ArcGISNetworkCredential class for the specified service with the specified credentials.
Declaration
public ArcGISNetworkCredential(string serviceUrl, ICredentials credentials)
Parameters
| Type | Name | Description |
|---|---|---|
| String | serviceUrl | The service that can be accessed with this credential. |
| ICredentials | credentials | The credentials used to access the service with HTTP authentication. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| UWP | 100.15 |
ArcGISNetworkCredential(Uri, Nullable<String>, Nullable<String>)
Initializes a new instance of the ArcGISNetworkCredential class for the specified service with the specified user name and password.
Declaration
public ArcGISNetworkCredential(Uri serviceUri, string? username, string? password)
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | serviceUri | The service that can be accessed with this credential. |
| System.Nullable<String> | username | The user name. |
| System.Nullable<String> | password | The password. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| UWP | 100.15 |
ArcGISNetworkCredential(String, Nullable<String>, Nullable<String>)
Initializes a new instance of the ArcGISNetworkCredential class for the specified service with the specified user name and password.
Declaration
public ArcGISNetworkCredential(string serviceUrl, string? username, string? password)
Parameters
| Type | Name | Description |
|---|---|---|
| String | serviceUrl | The service that can be accessed with this credential. |
| System.Nullable<String> | username | The user name. |
| System.Nullable<String> | password | The password. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| UWP | 100.15 |
ArcGISNetworkCredential(Uri, Nullable<String>, Nullable<String>, Nullable<String>)
Initializes a new instance of the ArcGISNetworkCredential class for the specified service with the specified user name, password, and domain.
Declaration
public ArcGISNetworkCredential(Uri serviceUri, string? username, string? password, string? domain)
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | serviceUri | The service that can be accessed with this credential. |
| 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 |
ArcGISNetworkCredential(String, Nullable<String>, Nullable<String>, Nullable<String>)
Initializes a new instance of the ArcGISNetworkCredential class for the specified service with the specified user name, password, and domain.
Declaration
public ArcGISNetworkCredential(string serviceUrl, string? username, string? password, string? domain)
Parameters
| Type | Name | Description |
|---|---|---|
| String | serviceUrl | The service that can be accessed with this credential. |
| 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 |