TranslatorLibrary.ClientSecret Property

Bing
 

Holds the client secret of the Azure Data Marketplace account that the application developer registered the Translator Control under. It is used for authentication and billing when calling the Bing Translator Service.

Published date: October 21, 2013

public string ClientSecret { get; }

Type: System.String

The client secret of the Azure Data Marketplace account that the application developer registered the Translator Control under.

This property is set and updated by the TranslatorControl.

Example

The following example initializes a TranslatorLibrary instance.

// Initialize a TranslatorLibrary instance.
var translatorApi = Bing.Translator.TranslatorLibrary("CLIENTID", "CLIENTSECRET");

Requirements

Minimum Supported Client

Windows 8.1

Required Extensions

Bing Translator Control

Namespace

Bing.Translator

Show: