问题
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!
回答1:
I think you would probably want to store in the registry and i dont think u have cookies in desktop apps.
来源:https://stackoverflow.com/questions/1672682/implement-a-remember-me-checkbox-in-windows-application