I started programming in c# for a few days ago, so I am a total newbeginner at this. Based on my experience in other languages, I found it somewhat “simple”.
I am building a system where users are logging in to my application, which is working. I want to have a “remember me”-setting where the information is stored locally. What is the best way to do this? I’ll only save the username and the password-hash.
Edit: This is a desktop-application. The login-information is sent to a php-script simply using HttpWebRequest
You can use the ConfigurationManager Class to manage your application’s settings.
you can use this function to add new Keys to your configuration file:
and then save up your username (for example)
Once your application starts up, you can read the information you saved earlier from your
ConfigurationManager