Hello,
I have the following code:
------------------------------------
oms = New System.Management.ManagementScope("\\" + mycomputer.Computername +
"\root\cimv2")
oms.Connect()
------------------------------------
My program is running with an account that has Domain Admin priveliges.
I want to connect to another computer using these credentials.
The above code doesn't work, the program always connect to the computer
where the program is running. (Although mycomputer.computername is correct)
What am I doing wrong?