I saw the following code on StackOverFlow
and am tryping to convert it to VB.
Seems like something is seriousely wrong in the middle part.
req = (HttpWebRequest)WebRequest
Stream stream = req.GetResponseStream();
byte data = new byte;
while ((read = data.Read(data, 0, data.Length)) > 0)
if (req != null)