如何在窗口应用程序中使用“记住我" [英] How to use remember me in window application

查看:61
本文介绍了如何在窗口应用程序中使用“记住我"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在从C#.net Windows应用程序中创建登录名,并且在登录界面中有一个记住我"复选框.有人可以给我一个教程,以编写C#Windows应用程序中的记住我"复选框吗?

谢谢.

Hi
I am creating a login from in C#.net windows application and i have a remember me checkbox in the login interface. can some one give me a tutorial to code the remember me check box in the C# windows application

Thank you.

推荐答案

已将用户凭据保存在文件中(已加密).在启动应用程序时,请尝试从该文件中获取凭据,然后单击确定即可,然后显示处于登录状态的应用程序,否则显示登录表单.
Have the user credentials saved in a file(encrypted). in starting the application try the credentials from this file it they are ok then show the application in logged in state else show the login form.


这篇关于如何在窗口应用程序中使用“记住我"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆