Search code examples
vb.netauthenticationdesktop-application.net-3.5remember-me

Implement a "Remember me" CheckBox in windows application?


Hello I am creating a Windows application (WPF) that is going to be running in few stations accessing 1 database.

I already implemented a login form with a login system thru My.User.CurrentPrincipal. Now, I want to implement a "Remember me on this computer" check box in the login form, where should I store the value?

Should it be a cookie? a .settings value? or what good other suggestion do you have.

Update
Also what data (i.e. what value) shoud I store, I want it to be secure, that users should not be able to copy the values etc.

Thanks in advance!


Solution

  • I think you would probably want to store in the registry and i dont think u have cookies in desktop apps.