How to verify windows narrator is running c#

374 Views Asked by At

In my case i have to decide whether the narrator is running or not. I am using below line of code to check narrator is running .

var isNarratorStarted = AutomationPeer.ListenerExists(AutomationEvents.AutomationFocusChanged);.

The above code returns true even when narrator is off and WindowsInspector is running.

My aim is to detect only Narrator is running or not.

0

There are 0 best solutions below