I have a c# winforms application deployed to a terminal server with AD. I would like that when the user launches the application, the user name is pre-filled, so they don’t have to type it each time. What’s the best way to store and then retrieve that value?
Share
If you want the name of the user currently running the application then use
Environment.UserName