Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.
Request = System.Net.WebRequest.Create(sURL) Response = Request.GetResponse ResponseStream = Response.GetResponseStream Dim numBytesToRead As Integer = CInt(Response.ContentLength) Dim bytes(Response.ContentLength) As Byte Dim numBytesRead As Integer = 0 While numBytesToRead + 1 > 0 Dim n As Integer = ResponseStream.Read(bytes, numBytesRead, numBytesToRead) If n = 0 Then Exit While End If numBytesRead += n numBytesToRead -= n End While
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.