The problem has been solved, I need to use the 32-bit .net component and now it works fine.
If QM3 can run powershell code directly, it would be great because powershell code is very simple and it is more convenient to operate some system components.
I have a question
QM2 can call the POWERSHELL code, and the C# code can also be called.
Which one is faster if the same function is performed?
For process automation, I think the powershell syntax is simpler and more friendly than C# code
If the syntax of QM3 is like to powershell, it will be better, powershell is already cross-platform, very promising.
If QM3 can run powershell code directly, it would be great because powershell code is very simple and it is more convenient to operate some system components.

I have a question

QM2 can call the POWERSHELL code, and the C# code can also be called.
Which one is faster if the same function is performed?
For process automation, I think the powershell syntax is simpler and more friendly than C# code
If the syntax of QM3 is like to powershell, it will be better, powershell is already cross-platform, very promising.