I have a windows service that listens to any data coming on port 8001. If data is received, it will activate an application and pass along a string that came on that port. I use Process.Start(file path, argument) to activate that application. But I don't know how to grap the argument in the activated application. I used the read method from the Console, Stream, or MemoryStream classes, but it doesn't work.
Does anyone know how to get arguments passed from a service? Or is there a better way to do this? My project is similar to an instant messenger.
Thanks.
Does anyone know how to get arguments passed from a service? Or is there a better way to do this? My project is similar to an instant messenger.
Thanks.