iTzoODavidOo Posted October 18, 2009 Report Posted October 18, 2009 Hey, im making my own app but i need to now how to make it so Beta testers can type there password in and it will allow them to do stuff within the app. How do i do it? 1
iBotPeaches Posted October 18, 2009 Report Posted October 18, 2009 Well a non very secure way but will work, just make a txt document on a server and put the password in there. Then do a textbox and download the string from the txt file then if (textBox1.Text == downloadString) { //pass } else { //fail }
Dark Slipstream Posted October 18, 2009 Report Posted October 18, 2009 Local Loginstring password = txtPassword.Text; if (password == "beta_tester999") { //Execute Code } else { //Show Error } Remote Loginstring password = txtPassword.Text; string rcPassword = default(string) try { rcPassword = new System.Net.WebClient().DownloadString("http://domain.com/rcpass.txt"); } catch { //Show (Connection) Error return; } if (password == rcPassword) { //Execute Code } else { //Show Error }
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now