开发者

Implement a "Remember me" CheckBox in windows application?

开发者 https://www.devze.com 2022-12-10 16:46 出处:网络
Hello I am creating a Windows application (WPF) that is going to be running in few stations accessing 1 database.

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开发者_如何学Go 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!


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

0

精彩评论

暂无评论...
验证码 换一张
取 消