Class Credential
Base class that represents a credential object used to access a secured ArcGIS resource.
Inheritance
System.Object
Credential
Implements
ISerializable
Namespace: Esri.ArcGISRuntime.Security
Assembly: Esri.ArcGISRuntime.dll
Syntax
public abstract class Credential : INotifyPropertyChanged
Remarks
You will generally get an instance of this class by calling GetCredentialAsync.
Properties
| Name | Description |
|---|---|
| ServiceUri | Gets or sets the URI of the service that can be accessed with this credential. |
Events
| Name | Description |
|---|---|
| PropertyChanged | Occurs when a property value changes. |
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 |
Relevant samples
Configure subnetwork trace: Get a server-defined trace configuration for a given tier and modify its traversability scope, add new condition barriers and control what is included in the subnetwork trace result.
Edit and sync features: Synchronize offline edits with a feature service.
Export tiles: Download tiles to a local tile cache file stored on the device.