Until they discontinue basic auth...

On Thu, Jun 25, 2009 at 16:04, Obrzut <sa...@peyoteuk.com> wrote:

>
> Thanks. But - I kinda sorted it here with this code snippet...
>
> url = "https://twitter.com/account/verify_credentials.xml";
>
>        Dim test As String = url
>
>         Dim UR As System.Net.WebRequest = System.Net.WebRequest.Create
> (test)
>         UR.Credentials = New NetworkCredential("APONetworks",
> "password")
>
>        Dim str As System.IO.Stream = UR.GetResponse
> ().GetResponseStream()
>
>         Dim r As New System.IO.StreamReader(str)
>
>        TextBox1.Text = r.ReadToEnd()
>
>        r.Close()
>        str.Close()
>
>
> ----------------------------------------------------------
>
> It now retreives the web page I request all the time! Haha! No need
> for external DLLs or any sort of thing.
>
> I am well pleased!
>
> I guess it's a kinda cheat - but it works :)




-- 
Internets. Serious business.

Reply via email to