Show / Hide Table of Contents

Class Credential

Base class that represents a credential object used to access a secured ArcGIS resource.

Inheritance
Object
Credential
ArcGISNetworkCredential
CertificateCredential
ProxyCredential
TokenCredential
Implements
INotifyPropertyChanged
ISerializable
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Esri.ArcGISRuntime.Security
Assembly: Esri.ArcGISRuntime.dll
Syntax
[Serializable]
[KnownType(typeof(ArcGISNetworkCredential))]
[KnownType(typeof(ArcGISTokenCredential))]
[KnownType(typeof(CertificateCredential))]
[KnownType(typeof(OAuthTokenCredential))]
[KnownType(typeof(ProxyCredential))]
public abstract class Credential : INotifyPropertyChanged, ISerializable

Properties

Name Description
ServiceUri

Gets GenerateTokenOptionsthe URI of the service that can be accessed with this credential.

Events

Name Description
PropertyChanged

Occurs when a property value changes.

Name Description
ISerializable.GetObjectData(SerializationInfo, StreamingContext)

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.2
.NET 6.0100.13 - 200.2
.NET 6.0 Windows100.13 - 200.2
.NET 6.0 Android200.0 - 200.2
.NET 6.0 iOS200.0 - 200.2
.NET Framework100.0 - 200.2
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.0 - 100.15
iOS100.0 - 100.15
UWP100.0 - 200.2

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.
In This Article
Back to top Copyright © 2022 Esri.