Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails
Private Function getpiece(ByVal hash As String, ByVal piece As String) Dim txturi As String = (removed) Dim pieceuri As New Uri(txturi) Dim piecerequest As System.Net.WebRequest = System.Net.WebRequest.Create(pieceuri) Dim pieceresponse As System.Net.WebResponse = piecerequest.GetResponse() ' Get the stream containing content returned by the server. Dim dataStream As Stream = pieceresponse.GetResponseStream() ' Open the stream using a StreamReader for easy access. Dim reader As New System.IO.BinaryReader(dataStream) ' Read the content. Dim responseFromServer() As Byte = reader.ReadBytes(264144) Application.DoEvents() reader.Close() dataStream.Close() pieceresponse.Close() Return responseFromServer End Function
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
10 Experts available now in Live!