Show / Hide Table of Contents

Constructor ArcGISNetworkCredential

ArcGISNetworkCredential()

Initializes a new instance of the ArcGISNetworkCredential class.

Declaration
public ArcGISNetworkCredential()

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.13
.NET 6.0100.13
.NET 6.0 Windows100.13
.NET Framework100.0 - 100.13
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.13
Xamarin.iOS100.0 - 100.13
UWP100.0 - 100.15

ArcGISNetworkCredential(Uri, ICredentials)

Initializes a new instance of the ArcGISNetworkCredential class for the specified service with the specified credentials.

Declaration
public ArcGISNetworkCredential(Uri serviceUri, ICredentials credentials)
Parameters
Type Name Description
Uri serviceUri

The service that can be accessed with this credential.

ICredentials credentials

The credentials used to access the service with HTTP authentication.

Applies to

Platforms and versions
TargetVersions
UWP100.15

ArcGISNetworkCredential(String, ICredentials)

Initializes a new instance of the ArcGISNetworkCredential class for the specified service with the specified credentials.

Declaration
public ArcGISNetworkCredential(string serviceUrl, ICredentials credentials)
Parameters
Type Name Description
String serviceUrl

The service that can be accessed with this credential.

ICredentials credentials

The credentials used to access the service with HTTP authentication.

Applies to

Platforms and versions
TargetVersions
UWP100.15

ArcGISNetworkCredential(Uri, Nullable<String>, Nullable<String>)

Initializes a new instance of the ArcGISNetworkCredential class for the specified service with the specified user name and password.

Declaration
public ArcGISNetworkCredential(Uri serviceUri, string? username, string? password)
Parameters
Type Name Description
Uri serviceUri

The service that can be accessed with this credential.

System.Nullable<String> username

The user name.

System.Nullable<String> password

The password.

Applies to

Platforms and versions
TargetVersions
UWP100.15

ArcGISNetworkCredential(String, Nullable<String>, Nullable<String>)

Initializes a new instance of the ArcGISNetworkCredential class for the specified service with the specified user name and password.

Declaration
public ArcGISNetworkCredential(string serviceUrl, string? username, string? password)
Parameters
Type Name Description
String serviceUrl

The service that can be accessed with this credential.

System.Nullable<String> username

The user name.

System.Nullable<String> password

The password.

Applies to

Platforms and versions
TargetVersions
UWP100.15

ArcGISNetworkCredential(Uri, Nullable<String>, Nullable<String>, Nullable<String>)

Initializes a new instance of the ArcGISNetworkCredential class for the specified service with the specified user name, password, and domain.

Declaration
public ArcGISNetworkCredential(Uri serviceUri, string? username, string? password, string? domain)
Parameters
Type Name Description
Uri serviceUri

The service that can be accessed with this credential.

System.Nullable<String> username

The user name.

System.Nullable<String> password

The password.

System.Nullable<String> domain

The domain.

Applies to

Platforms and versions
TargetVersions
UWP100.15

ArcGISNetworkCredential(String, Nullable<String>, Nullable<String>, Nullable<String>)

Initializes a new instance of the ArcGISNetworkCredential class for the specified service with the specified user name, password, and domain.

Declaration
public ArcGISNetworkCredential(string serviceUrl, string? username, string? password, string? domain)
Parameters
Type Name Description
String serviceUrl

The service that can be accessed with this credential.

System.Nullable<String> username

The user name.

System.Nullable<String> password

The password.

System.Nullable<String> domain

The domain.

Applies to

Platforms and versions
TargetVersions
UWP100.15
In This Article
Back to top Copyright © 2022 Esri.