如何让用户输入密码并将其保存在安装过程中需要的帐户位置 [英] How do I get the user input their password and save it where it needs to be for their account during the installation

查看:45
本文介绍了如何让用户输入密码并将其保存在安装过程中需要的帐户位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正如标题所说,如何在安装过程中让用户输入他们帐户的密码?

所以我制作了一个C#windows窗体程序并制作了一个安装程序然后将First的程序解决方案添加到设置中。一切都很好,但我不知道如何在安装程序中进行对话,要求用户输入密码,然后将其保存在需要的地方
。如果用户卸载程序,密码将从存储位置删除。

互联网上根本没有教程。谢谢:)。

As the title says, how do I get the user input their password for their account during the installation?
So I made a C# windows form program and made a setup program and then added the First's program solution to the setup. And everything was fine but I don't know how to make a dialog in setup program to require a password from user and then to save it somewhere where it needs to be. And if the user uninstalls the program, the password will be deleted from where it was stored.
There is literally no tutorial on the internet for that. Thanks :).

推荐答案

互联网上几乎没有教程。谢谢:)。

也许,因为你不应该这样做是因为你找不到任何东西。您正在安装Windows桌面解决方案,用户是否需要提供一些密码才能在安装过​​程中访问您的解决方案?

Maybe, because you shouldn't be doing it is the reason you can't find anything. You are installing a Windows desktop solution, and the user is to give some password to access your solution during the install process?


这篇关于如何让用户输入密码并将其保存在安装过程中需要的帐户位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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