https://learn.microsoft.com/en-us/dotnet/api/system.windows.automation.automationelement.automationelementinformation.ispassword?view=netframework-4.8.1&viewFallbackFrom=windowsdesktop-10.0
AutomationElement.AutomationElementInformation.IsPassword Property (System.Windows.Automation) |...
Gets a value that indicates whether the UI Automation element contains protected content.
property systemwindowsautomation