ShellExecute

[DllImport("shell32.dll", CharSet = CharSet.Unicode)]
public static extern IntPtr ShellExecute(
   IntPtr hwnd,
   string lpOperation,
   string lpFile,
   string lpParameters,
   string lpDirectory,
   int nShowCmd
);

Microsoft documentation: Link

Last updated