[DllImport("psapi.dll", SetLastError = true, CharSet = CharSet.Ansi)] public static extern uint GetProcessImageFileName( IntPtr hProcess, StringBuilder lpImageFileName, uint nSize );
Microsoft documentation: Link
Last updated 1 year ago