I have a text file that I need to read from another computer. This is how I try to get the data:
if (!File.Exists(filePath))
{
string text = File.ReadAllText(filePath);
MessageBox.Show(filePath);
}
but when I do so, I get this error:
Additional information: The user name or password is incorrect.
I know the username and password but how do I place it make it so that I can put in the network credentials as well?