How can I gain sudo/admin privileges in C#? Specifically Mono
<p>I'm currently working on a desktop application that runs both on Windows and Mac and needs to request sudo access on Mac in order to install and trust a certificate in the users's keychain, I was planning on displaying a window with a textbox that would request the password but this doesn't look like a clean way to do it. I only require to do that once, not everytime the app runs.</p>

<p>The app has been developed using C# and would require sudo in order to execute a console command using Process.Start(...)</p>

<p>Is there any way I can achieve this?</p>

<p>Thanks a lot in advance</p>