I am trying to figure how to use remoting to control a Windows Service I am writing. My service is basically just a timer that checks the current time, and waits for the right time to do some database tasks. I want to be able to use remoting to do things like update the time when event happens. Anything internal to the class seems easy to do, but if I store that time as say a DateTime variable as part of the host app instead of part of the object, what is the best way to setup that reference to the variable?


Reply With Quote