Export (0) Print
Expand All

SpeechRecognitionEngine.RecognizerInfo Property

Gets information about the current instance of SpeechRecognitionEngine.

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

public RecognizerInfo RecognizerInfo { get; }

Property Value

Type: System.Speech.Recognition.RecognizerInfo
Information about the current speech recognizer.

To get information about all of the installed speech recognizers for the current system, use the InstalledRecognizers method.

The following example gets a partial list of data for the current in-process speech recognition engine. For more information, see RecognizerInfo.

using System;
using System.Speech.Recognition;

namespace RecognitionEngine
  class Program
    static void Main(string[] args)
      using (SpeechRecognitionEngine recognizer = new SpeechRecognitionEngine())
        Console.WriteLine("Information for the current speech recognition engine:");
        Console.WriteLine("  Name: {0}", recognizer.RecognizerInfo.Name);
        Console.WriteLine("  Culture: {0}", recognizer.RecognizerInfo.Culture.ToString());
        Console.WriteLine("  Description: {0}", recognizer.RecognizerInfo.Description);

      Console.WriteLine("Press any key to exit...");

.NET Framework

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

.NET Framework Client Profile

Supported in: 4
© 2015 Microsoft