I have a C# console application that needs to read a shared file on a machine in another domain. When the application tries to access the file an exception occurs as the loc
From memory you'll need to use a Windows API call and login as a user on the other domain. See this link for an example.
Another idea could be to use the RunAs command line argument to read the file and save it into a file on your local domain/server.