vendredi 4 mars 2016

VB.NET and Dropbox not working

When I type anything in the textbox, it says that user is blacklisted even if that string is not on the blacklist.

Code:

    Dim request As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create("[DROPBOX LINK]")
    Dim response As System.Net.HttpWebResponse = request.GetResponse

    Dim sr As System.IO.StreamReader = New System.IO.StreamReader(response.GetResponseStream)
    Dim skypebl As String = sr.ReadToEnd()

    If skypebl.Contains(MetroTextBox7.Text) Then

        MsgBox("Error: This user is blacklisted!")

    End If




Aucun commentaire:

Enregistrer un commentaire