Our intranet is an ASP.NET site running on a server that is not part of our
domain. I need it to be able to read a file on our fileserver. To see the
file myself when I'm logged into the web server I can fire up Windows
Explorer, go to \\ServerName\Share, and I get prompted for a username and
password. I enter a domain username/password and I'm in.

How can I do the same in ASP.NET? I'm looking for something like
File.OpenText(), but that let's me pass in a username & password.


Nate Hekman
www.geo-slope.com