Read properties of Windows Service from Windows Forms App

Read properties of Windows Service from Windows Forms App

am 16.04.2008 12:56:29 von Nemisis

Hi everyone,

I believe this is possible as i think this is how anti-virus works, i
have created a windows service with a couple public readonly
properties and i would like to read these properties from a Windows
Forms application?


Is this possible?


I have made a windows service that reads and sends emails from a
message queue using a timer control. But because people log on and
log off of our server, i cannot have it as a windows forms
application, as it closes when you log off.


Can anyone point me in the right direction?? Thanks in advance

Re: Read properties of Windows Service from Windows Forms App

am 17.04.2008 01:09:52 von newsgroups_remove

Hello,

you need some sort of inter process communcation. Look into WCF or Remoting
for this.

Kind regards,
Henning Krause

"Nemisis" wrote in message
news:1d00a95d-93d8-46e1-8c2a-16561ce29566@p25g2000hsf.google groups.com...
> Hi everyone,
>
> I believe this is possible as i think this is how anti-virus works, i
> have created a windows service with a couple public readonly
> properties and i would like to read these properties from a Windows
> Forms application?
>
>
> Is this possible?
>
>
> I have made a windows service that reads and sends emails from a
> message queue using a timer control. But because people log on and
> log off of our server, i cannot have it as a windows forms
> application, as it closes when you log off.
>
>
> Can anyone point me in the right direction?? Thanks in advance