vb.net中的稳定变量
问题描述:
我怎样才能使变量稳定?
例如我的软件在我退出之后在我的软件中更改了用户名或密码回来的软件问我的新用户名或密码。
但是知道我和vb.net一起工作
来自你所有人的TNX。
how can I make variables that be steady?
for example my software has an user name or a password when I changed it in my software after that I quit and come back software ask my new user name or password.
but know this I work with vb.net
TNX alot from all of u.
答
没有稳定变量这样的东西。
我想你''谈论持久化变量值。您通常会将这些值保存到适当的文件中,例如XML文件或数据库表条目。由于你在谈论用户名和密码,你最好在存储它之前加密这些信息。
There''s no such thing as a "steady variable".
I think you''re talking about persisting the variables values. You''d normally save these values to a file somewhere appropriate, such as an XML file or database table entry. Since you''re talking about username and password, you''d better be encrypting this information before storing it.