SpeechRecognizer.AuthorizationToken Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets authorization token used to communicate with the service.
Note: Your code needs to ensure that the authorization token is valid. Before the authorization token expires, your code needs to refresh it by calling this setter with a new valid token. Otherwise, the recognizer will produce errors during recognition.
public string AuthorizationToken { get; set; }
member this.AuthorizationToken : string with get, set
Public Property AuthorizationToken As String