I have a WPF app that uses a WebBrowser
control to load a webpage that performs authentication using a basic auth flow, which is displayed as:
I want to change what is displayed as the title (BasicAuthName.exe) in the auth prompt, which appears to be based on the filename of the executable hosting the WebBrowser control.
How can this be set at runtime to display a more user friendly title?
You can't. The displayed name is managed by Windows Security to inform the user which application is requesting his credentials. The most you can do is change the name of the application itself. If you are using Visual Studio:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With