I'm trying to access a remote file in the server, but when I execute this code below to open the connection it return "Invalid Namespace".
Anything that I missed?
public static void NetworkAuthentication()
{
ManagementScope scope =
new ManagementScope("\\\\192.168.1.12\\Files");
scope.Options.Username = "ABCDE";
scope.Options.Password = "12345";
scope.Connect();
}