, Windows. -, / ( .NET 4.0), .
Your question mentions the method (string [] args), which is more like the "main" command line method. In this case, you are probably looking at the wrong thing if it is a Windows service. You do not run the Windows EXE utility to pass its arguments .... no, if you want it to run as a service.
Each of these methods includes its own quirks. But basically, you should marshal your data by serializing links or values.
source
share