FileInfo from http

  • Thread starter Thread starter Guest
  • Start date Start date
Senna said:
Hi,

I'm trying to initialize a FileInfo object with a file thru http so I
can see that files LastWriteTime.

FileInfo fi = new FileInfo("http://www.123.com/SomeFolder/123.txt");

But gets an error saying uri are not allowed.

Are there any other ways to make this work?

The HTTP header "Last-Modified" contains this information.

Cheers,
 
Back
Top