windows - How can i run rundll32 64bit process from c# -


i need install driver system32\drivers, if i'm using default install rundll32 c#, driver installing syswow64. code:

            processstartinfo startinfo = new processstartinfo();             startinfo.verb = "runas";             startinfo.filename = "cmd";             startinfo.arguments = @"/c rundll32.exe setupapi.dll,installhinfsection defaultinstall 132 " + file;             var process = process.start(startinfo);             process.waitforexit(); 

how can run process 64bit process?


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -