When I try to read files on another network (which requires authentication), the error below occurs. The same problem I also have when I try to access protected folders.
Does anyone know how I can solve this?
DirectoryInfo dirE = new DirectoryInfo(@"\\123.45.6.78\dados\Chapolin");
FileInfo[] filesE = dirE.GetFiles("*", SearchOption.AllDirectories);
Additional information: Login failed: unknown user name or incorrect password.