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
Credential.ServerContext
Credential.PropertyChanged
Credential.FromJson(string)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Esri.ArcGISRuntime.Security
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class ArcGISNetworkCredential : Credential, INotifyPropertyChanged

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 "root" (longest common URL prefix) used for unnamed realms.

Methods

Name Description
ToJson()

Convert this Credential to a JSON string.

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 300.0
.NET Windows100.13 - 300.0
.NET Android200.0 - 300.0
.NET iOS200.0 - 300.0
.NET Framework100.0 - 200.8
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.8
In this article
Provide feedback
Back to top Copyright © 2025 Esri.