long mb = 1048576 ;
i=0;
//1024x1024
//设定生成的WMI所需的所有设置
System.Management.ConnectionOptions Conn = new ConnectionOptions ( ) ;
//设定用于WMI连接操作的用户名
Conn.Username = "administrator" ;
//设定用户的口令
Conn.Password = "98515214" ;
//设定用于执行WMI操作的范围
System.Management.ManagementScope Ms = new ManagementScope ( "\\\\127.0.0.1\\root\\cimv2" , Conn ) ;出错信息为:无法为本地连结使用用户凭证
i=0;
//1024x1024
//设定生成的WMI所需的所有设置
System.Management.ConnectionOptions Conn = new ConnectionOptions ( ) ;
//设定用于WMI连接操作的用户名
Conn.Username = "administrator" ;
//设定用户的口令
Conn.Password = "98515214" ;
//设定用于执行WMI操作的范围
System.Management.ManagementScope Ms = new ManagementScope ( "\\\\127.0.0.1\\root\\cimv2" , Conn ) ;出错信息为:无法为本地连结使用用户凭证
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货