Implement a “Remember me” CheckBox in windows application?

六月ゝ 毕业季﹏ 提交于 2019-12-07 23:14:04

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!