Reading extended file attributes and properties

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I have a c# application that I would like to read in a “somewebsite.urlâ€
file and extract the “Web document > URL:†property for use in my app.
Can anybody give me any pointers on how this can be done please?

(If I crack it myself I will post the answer back here)

Thanks,

Paul.
 
Hi,

I'm not sure what you want, you can read a file with StreamReader, then you
can use a WebRequest to get that url.

What is exactly your problem?
 
Hi Paul,

Just wanted to check and see how things are going.

MVP Ignacio's suggestion is the general convention in such scenarios, you
can use the HttpWebRequest class to retrieve the content from a webpage.
The following atricles introduce the usage of the HttpWebRequest class:

Getting web page content and headers
http://www.geekpedia.com/tutorial175_Getting-web-page-content-and-headers.ht
ml

How to use HttpWebRequest and HttpWebResponse in .NET
http://www.codeproject.com/cs/internet/httpwebrequest_response.asp


If there is anything unclear, please let me know. It's my pleasure to be of
assistance.

Thanks!

Best regards,

Gary Chang
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top