Class ArcGISNetworkCredential
The ArcGISNetworkCredential class represents a credential object used to access to HTTP secured ArcGIS resources.
Implements
Namespace: Esri.ArcGISRuntime.Security
Assembly: Esri.ArcGISRuntime.dll
Syntax
[Serializable]
[KnownType(typeof(PreAuthenticateBehavior))]
public sealed class ArcGISNetworkCredential : Credential, INotifyPropertyChanged, ISerializable
Remarks
You will generally get an instance of this class by calling GetCredentialAsync. To accommodate specific uses cases, this object can also be created manually.
Constructors
Name | Description |
---|---|
ArcGISNetworkCredential(String, ICredentials) | Initializes a new instance of the ArcGISNetworkCredential class for the specified service with the specified credentials. |
ArcGISNetworkCredential(String, String, String) | Initializes a new instance of the ArcGISNetworkCredential class for the specified service with the specified user name and password. |
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. |
ArcGISNetworkCredential(Uri, ICredentials) | Initializes a new instance of the ArcGISNetworkCredential class for the specified service with the specified credentials. |
ArcGISNetworkCredential(Uri, String, String) | Initializes a new instance of the ArcGISNetworkCredential class for the specified service with the specified user name and password. |
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. |
Properties
Name | Description |
---|---|
Credentials | Gets or sets the base authentication interface for accessing an ArcGIS resource with an HTTP authentication. |
PreAuthenticateBehavior | Gets or sets the behavior for setting the Authorization header. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |