remote wmi connection c# - invalid parameter error
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: when i run the following code ConnectionOptions options = new ConnectionOptions (); options . EnablePrivileges = true ; options . Impersonation = ImpersonationLevel . Impersonate ; options . Authentication = AuthenticationLevel . Packet ; options . Authority = "ntdlmdomain:InsTIL.com" ; options . Username = "instil" + @ "\" + " admin "; options.Password = " Pwd "; ManagementScope scope= new ManagementScope(string.Format(@" \\ 172.16 . 2.171 \root\cimv2 "),options); scope.Connect(); if (scope.IsConnected == true) { Console.WriteLine