Good day everyone,
i have a problem with MAUI. I am running a MAUI project that acts as a UI to configurate a capture device that is used to capture network traffic and display this in Wireshark using a custom extcap.
The two programs work in tandem, as Wireshark starts the MAUI program by calling it on a command line with parameters.
The problem is, Wireshark is communicating by reading of and writing to a console. This means I need to write from the MAUI application to the console it was started from by Wireshark.
I tried both Console.WriteLine as well as a Trace.Listener without success.
string interfaceString = "interface {value=" + capturer.Name + "}{display=" + capturer.Name + " Capture Interface}";
Console.WriteLine(interfaceString);
Trace.Listeners.Add(new TextWriterTraceListener(Console.Out));
Trace.WriteLine(interfaceString);
My question now is, is there a way to write to the console, or is it in fact impossible to get MAUI to communicate via the console. It would be sufficient to me if a solution for Windows exists.