Share via


Credentials Class

 

Contains information used to authenticate requests.

Namespace:   Microsoft.Maps.MapControl.WPF
Assembly:  Microsoft.Maps.MapControl.WPF (in Microsoft.Maps.MapControl.WPF.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Maps.MapControl.WPF.Credentials

Syntax

[DataContractAttribute(Namespace = "http://dev.virtualearth.net/webservices/v1/common")]
public class Credentials
[DataContractAttribute(Namespace = "http://dev.virtualearth.net/webservices/v1/common")]
public ref class Credentials 
[<DataContractAttribute(Namespace = "http://dev.virtualearth.net/webservices/v1/common")>]
type Credentials = class end
<DataContractAttribute(Namespace := "http://dev.virtualearth.net/webservices/v1/common")>
Public Class Credentials

Constructors

Name Description
System_CAPS_pubmethod Credentials()

Initializes a new instance of the Credentials class.

Properties

Name Description
System_CAPS_pubproperty ApplicationId

Gets or sets the application ID, or Bing Maps Key, for these credentials.

System_CAPS_pubproperty Token

The Bing Maps WPF Control does not support the use of tokens for authentication.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

Determines whether the credentials are equal to the specified object.(Overrides Object.Equals(Object).)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

Retrieves the hash code for the credentials.(Overrides Object.GetHashCode().)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

Converts the credentials to a string.(Overrides Object.ToString().)

Operators

Name Description
System_CAPS_puboperatorSystem_CAPS_static Equality(Credentials, Credentials)

Determines whether two credentials are equal.

System_CAPS_puboperatorSystem_CAPS_static Inequality(Credentials, Credentials)

Determines whether two credentials are not equal.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Maps.MapControl.WPF Namespace

Return to top