RecognizerInfo.AdditionalInfo Property

Gets additional information about a SpeechRecognizer or SpeechRecognitionEngine instance.

Namespace:  System.Speech.Recognition
Assembly:  System.Speech (in System.Speech.dll)

public IDictionary<string, string> AdditionalInfo { get; }

Property Value

Type: System.Collections.Generic.IDictionary<String, String>
Returns an instance of IDictionary containing information about the configuration of a SpeechRecognizer or SpeechRecognitionEngine object.

The example below implements a button click which displays all the information in a RecognizerInfo object in a MessageBox.

The key/value pairs contained in the IDictionary instance returned by AdditionalInfo are concatenated into a text table.

private void recognizerInfoButton_Click(object sender, EventArgs e) 
  RecognizerInfo info = _recognizer.RecognizerInfo;
  string AudioFormats = "";
  foreach (SpeechAudioFormatInfo fmt in info.SupportedAudioFormats) 
    AudioFormats += String.Format("       {0}\n", fmt.EncodingFormat.ToString());
  string AdditionalInfo = "";
  foreach (string key in info.AdditionalInfo.Keys) 
    AdditionalInfo += String.Format("      {0}: {1}\n", key, info.AdditionalInfo[key]);
                     "Name:                 {0 } \n" +
                     "Description:          {1} \n" +
                     "SupportedAudioFormats:\n" +
                     " {2} " +
                     "Culture:              {3} \n" +
                     "AdditionalInfo:       \n" +
                     " {4}\n",

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft