pmengal
asked on
Retrieve a web page content, but at a specific position
Hi,
I know a lot of methods to retrieve a web page using HttpRequest and .NET classes like that. It work very well to retrieve the whole page.
However, I want to be able to retrieve only a part of the page.
For exemple if you want to retrieve only a part of the file, you do a Seek, here is an exemple that retrieve the file content at position 100 (byte):
StreamReader reader = new StreamReader(filename, System.Text.Encoding.Defau lt);
reader.BaseStream.Seek(100 , System.IO.SeekOrigin.Begin );
How to achieve this for a web request ? I know it's possible, but how ?
Thanks a lot!
I know a lot of methods to retrieve a web page using HttpRequest and .NET classes like that. It work very well to retrieve the whole page.
However, I want to be able to retrieve only a part of the page.
For exemple if you want to retrieve only a part of the file, you do a Seek, here is an exemple that retrieve the file content at position 100 (byte):
StreamReader reader = new StreamReader(filename, System.Text.Encoding.Defau
reader.BaseStream.Seek(100
How to achieve this for a web request ? I know it's possible, but how ?
Thanks a lot!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.