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 |
---|---|---|
System.Uri | serviceUri | The service that can be accessed with this credential. |
System.Net.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 - 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 |
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. |
System.Net.ICredentials | credentials | The credentials used to access the service with HTTP authentication. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.ArgumentException |
|
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 |
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 |
---|---|---|
System.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 - 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 |
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 |
|
System.ArgumentException |
|
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 |
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 |
---|---|---|
System.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 - 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 |
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 |
|
System.ArgumentException |
|
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 |