Working with Registry in C# 2.0 (Windows Forms)

前端 未结 7 1408
一个人的身影
一个人的身影 2020-12-19 20:17

I\'m a newbie to Windows Forms.

I\'m designing an Windows Application in .Net Framework 2.0 in which, I need to Store a UserName and Password somewhere in the Syst

7条回答
  •  伪装坚强ぢ
    2020-12-19 20:51

    You could try using IsolatedStorage. MSDN Blurb, code sample, and (given you're storing user credentials) an encryption sample. I've linked .net 2.0 samples where possible.

    Storing application data in the registry has become unpopular since there are easier alternatives and using the registry can hurt the performance of your users' computers.

提交回复
热议问题