I work with SpeechRecognitionEngine
from the namespace System.Speech
in inproc-mode for doing some automation work. The speech recognition is started via RecognizeAsync
.
It works fine, however, when the computer gets locked, speech recognition stops. As soon as the computer gets unlocked, the recognition is active again. While this is probably a meaningful behavior for most applications, for mine, it is an issue. I have searched the web, but not found a solution to disable this behaviour.
How can I parameterize the SpeechRecognition not to stop when the computer is locked?
(Please note: The app is a conventional Windows WPF application, not a Windows Store App)