I have a windows service running as part of my application.
If I want to communicate with him through a service descriptor, I can issue user commands (for example, "start worker"). Ultimately, this will be a call to the Win32 ControlService () function . What is the best way to return a data block from such a command?
In particular, I want to return a "default URL" (i.e. a string) to which my service will respond via other protocols such as http.
A solution that is easy to implement in a C # service (.net 2.0) would be preferable.
source
share