How To Get a Form to Fetch Login Data From a *.txt file?
I know this is very insecure for logins, but this is out of curiosity.
How Would I make a login form but instead of having
If TextBox1.Text = ("username")
and all that stuff how would I make it would get the login data from a *.txt file uploaded
online (i.e. mysite.com/logins.txt) so I could add new users to the list and not make a new version?
Re: How To Get a Form to Fetch Login Data From a *.txt file?
to read an online text file into an array of strings:
vb.net Code:
Dim wc As New Net.WebClient
Dim lines() As String = wc.DownloadString("url of text file").Split(New String() {Environment.NewLine}, StringSplitOptions.RemoveEmptyEntries)