I’m trying to create a login prompt. I have a xml file like this:
<Users>
<User Name=User1 Password=Pass1/>
<User Name=User2 Password=Pass2/>
</Users>
How to find if a UserName which is entered in a textbox exists in the file and find if the password is entered correctly? If there’s a better way than using xml, can you provide any info?
Here’s a couple places to peruse:
http://weblogs.asp.net/psheriff/archive/2009/10/27/create-a-login-window-in-wpf.aspx
http://social.msdn.microsoft.com/forums/en-US/Vsexpressvb/thread/7723452e-9128-4ed7-b0ad-db7a1e3b3af7/