I'm trying to create a folder on remote machine (computer is in same network). I'm using the code, when I try to excue the code, I'm getting following error message:
Logon failure: unknown user name or bad password.
Can any one suggest me how to create a folder on remote machine (which is in same network)?
string path = @"\\16.166.187.121\c$\testingfolder\Features\Temp\";
if (!Directory.Exists(path))
{
DirectoryInfo di = Directory.CreateDirectory(path);
}