Access to LAN resources

zhaozj2021-02-16  111

Private void Button1_Click (Object Sender, System.Eventargs E)

{

ConnectionOptions Co = New ConnectionOptions ();

Co. HERNAME = "administrator";

Co.password = "xxxxxxxxxxxxxxxxxxx";

System.Management.ManagementScope MS = New System.Management.ManagementsCope ("218.241.42.116///root//cimv2", CO);

}

Private void button2_click (Object Sender, System.Eventargs E)

{

Process.start ("Litao-mclPal8fv // Temp // Text.txt");

//Process.start("d://temp/text.txt ");

}

转载请注明原文地址:https://www.9cbs.com/read-11183.html

New Post(0)