Best way to implement “Remember Me” check box in WinForms / WPF

核能气质少年 提交于 2019-12-03 17:18:46

You could also store it in Isolated Storage or create a User setting in your application's Settings.

Edit: Oren's suggestion of using DPAPI to protect information is well and good, but it doesn't store anything:

An important point to remember is that DPAPI merely applies cryptographic protection to the data. It does not store any of the protected data; therefore applications calling DPAPI must implement their own storage of the protected data.

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