I try to write to a remote machine with the following code:
StreamWriter(@"\\" + remoteMachine + "\\admin$\\" + fileName);
i get the following error Logon failure: unknown user name or bad password.
i got the user name, domain and password. how can i write with credentials?
if i already been to that computer in this session there is no problem, but if it's a new session the computer doesn't recognize the location
how can i write with credentials?