Show / Hide Table of Contents

Class ArcGISNetworkCredential

A credential used to access to network resources secured by HTTP authentication.

Inheritance
Object
Credential
ArcGISNetworkCredential
Implements
INotifyPropertyChanged
ISerializable
Credential.ServiceUri
Credential.PropertyChanged
Credential.ISerializable.GetObjectData(SerializationInfo, StreamingContext)
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(PreAuthenticateBehavior))]
public sealed class ArcGISNetworkCredential : Credential, INotifyPropertyChanged, ISerializable

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.

RealmRoot

Gets the calculated RealmRoot parameter. This is initialized to and updated by Esri.ArcGISRuntime.Security.ArcGISNetworkCredential.CheckRealmRoot(System.Uri,System.String) whenever the server challenges us for additional URLs.

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