G
Guest
How do I access Public variables within a Windows Service?
I can, and have, created installed and executed a basic Service. From my
client App I can Start, Stop...etc the service.... What I want to do is to
read properties that are in the service. for instance if the service had a
Propertie or Public variable like
Public Int Myint = 12; (or... Public Myint as integer = 12)
Then how could I read that variable from a typical windows Form application?
The basic Idea is to have a service churning away all the time and then when
a client app OR mulitple client apps need info that the service is
calculating then the client app should be able to simple reference the
variable and read it .... no?
I can, and have, created installed and executed a basic Service. From my
client App I can Start, Stop...etc the service.... What I want to do is to
read properties that are in the service. for instance if the service had a
Propertie or Public variable like
Public Int Myint = 12; (or... Public Myint as integer = 12)
Then how could I read that variable from a typical windows Form application?
The basic Idea is to have a service churning away all the time and then when
a client app OR mulitple client apps need info that the service is
calculating then the client app should be able to simple reference the
variable and read it .... no?