摘要:
publicstaticboolconnectState(stringpath){returnconnectState(path,"","");}publicstaticboolconnectState(stringpath,stringuserName,stringpassWord){boolFlag=false;Processproc=newProcess();try{proc.StartInfo.FileName="cmd.exe";proc.StartInfo.UseShellExecute=false;proc.StartI 阅读全文