|
-
Oct 26th, 2012, 09:38 AM
#1
[RESOLVED] Using Seek() method for GetResponseStream()
Hi,
I am using the GetResponseStream.Read() function of the HttpWebResponse to read bytes of a remote file. I was wondering how to seek to a particular position and read from that position. I tried to assign the stream obtained from GetResponseStream() to a FileStream but it seems to be of type ConnectStream and is throwing typecasting errors. My idea is to use the Seek() method.
So, how would we use the Seek() method in this case ?
Thanks in advance..
If my post was helpful to you, then express your gratitude using Rate this Post. 
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|