Run quick assist(QuickAssist.exe)) in C#

Kyeongdon Lim 41 Reputation points
2020-12-20T05:02:46.513+00:00

Hi, I'm making a wpf application witch starting "quickassist.exe" in system32 folder.

here is my code.

 string path = @"C:\windows\system32\quickassist.exe";
  ProcessStartInfo startInfo = new ProcessStartInfo();
  startInfo.FileName = path;
  startInfo.Verb = "runas";
  startInfo.UseShellExecute = true;

  Process.Start(startInfo);

Every thing is ok except connection.
(ex. stating exe, enter code, select authorization)

In connection section, "quickassist.exe" show error message on it's own window.

I'm trying to figure out what makes the problem.
but there is no clue like logs or exception message.

what should I do for fix this problem?

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,710 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,141 questions
{count} votes

Accepted answer
  1. DaisyTian-1203 11,621 Reputation points
    2020-12-22T06:42:56.783+00:00

    Please right your project > Choose Properties > Click Build tab > change the Platform target Any CPU to x64. As below picture shown:

    50219-capture.png


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful