Credentials Class

 

This documentation is no longer available on MSDN. It is available as a CHM or PDF download. For the newest Geocoding, Imagery, Routing and Traffic services, see Bing Maps REST Services. 

Contains the credentials used to authenticate the service request.

Syntax

public class Credentials
Public Class Credentials

Constructor

Name

Description

Credentials 

Initializes a new instance of a Credentials object.

Public Properties

Name

Description

ApplicationId

A string representing the application ID, or Bing Maps Key, obtained from the Bing Maps Dev Center. Optional. Either the ApplicationId property or the Token property must be specified.

Token 

Important

The Bing Maps Token Service will be retired on March 30, 2012. For information about upgrading your application to use Bing Maps Keys, see Migrating from Tokens to Keys.

A string representing the client token obtained from the Bing Maps Token Service. Optional. Either the ApplicationId property or the Token property must be specified.

See Also

Accessing the Bing Maps SOAP Services
RequestBase.Credentials Property