Constructor ArcGISNetworkCredential
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. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.14 - 100.15 |
.NET 6.0 | 100.14 - 100.15 |
.NET 6.0 Windows | 100.14 - 100.15 |
.NET Framework | 100.14 - 100.15 |
Xamarin.Android | 100.14 - 100.15 |
Xamarin.iOS | 100.14 - 100.15 |
UWP | 100.14 |
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 |
---|---|---|
System.String | serviceUrl | The service that can be accessed with this credential. |
ICredentials | credentials | The credentials used to access the service with HTTP authentication. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
ArgumentException |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.14 - 100.15 |
.NET 6.0 | 100.14 - 100.15 |
.NET 6.0 Windows | 100.14 - 100.15 |
.NET Framework | 100.14 - 100.15 |
Xamarin.Android | 100.14 - 100.15 |
Xamarin.iOS | 100.14 - 100.15 |
UWP | 100.14 |
ArcGISNetworkCredential(Uri, String, 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.String | username | The user name. |
System.String | password | The password. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.14 - 100.15 |
.NET 6.0 | 100.14 - 100.15 |
.NET 6.0 Windows | 100.14 - 100.15 |
.NET Framework | 100.14 - 100.15 |
Xamarin.Android | 100.14 - 100.15 |
Xamarin.iOS | 100.14 - 100.15 |
UWP | 100.14 |
ArcGISNetworkCredential(String, String, 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 |
---|---|---|
System.String | serviceUrl | The service that can be accessed with this credential. |
System.String | username | The user name. |
System.String | password | The password. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
ArgumentException |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.14 - 100.15 |
.NET 6.0 | 100.14 - 100.15 |
.NET 6.0 Windows | 100.14 - 100.15 |
.NET Framework | 100.14 - 100.15 |
Xamarin.Android | 100.14 - 100.15 |
Xamarin.iOS | 100.14 - 100.15 |
UWP | 100.14 |
ArcGISNetworkCredential(Uri, String, String, 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.String | username | The user name. |
System.String | password | The password. |
System.String | domain | The domain. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.14 - 100.15 |
.NET 6.0 | 100.14 - 100.15 |
.NET 6.0 Windows | 100.14 - 100.15 |
.NET Framework | 100.14 - 100.15 |
Xamarin.Android | 100.14 - 100.15 |
Xamarin.iOS | 100.14 - 100.15 |
UWP | 100.14 |
ArcGISNetworkCredential(String, String, String, 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 |
---|---|---|
System.String | serviceUrl | The service that can be accessed with this credential. |
System.String | username | The user name. |
System.String | password | The password. |
System.String | domain | The domain. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
ArgumentException |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.14 - 100.15 |
.NET 6.0 | 100.14 - 100.15 |
.NET 6.0 Windows | 100.14 - 100.15 |
.NET Framework | 100.14 - 100.15 |
Xamarin.Android | 100.14 - 100.15 |
Xamarin.iOS | 100.14 - 100.15 |
UWP | 100.14 |