I have a Java application that exits correctly when using CTRL-C , the java application saves all the data before disconnecting. Now I am trying to close this java application from my C # console application using Process.Close() , but the application does not save any data when I use it, I also tried Process.CloseMainWindow() , but nothing happens, but also Process.Kill() , but using this process, just killed, without any effort.
How can I raise a hookdown on a java application from a C # console application?
source share