Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dll run as service - how to set parameter
Message
From
07/07/2017 03:37:45
 
General information
Forum:
C#
Category:
Installation, Setup and Configuration
Miscellaneous
Thread ID:
01652528
Message ID:
01652540
Views:
42
This message has been marked as a message which has helped to the initial question of the thread.
>Hi everybody,
>
>I have a DLL project. To the main class (based on the public interface) I added a property called lTraining.
>
>That dll is being invoked as a service (my colleague added that service).
>
>My question is - how can we somehow pass 'Training' parameter (may be to that service) and how would it then set that flag property?
>
>Thanks a lot in advance.

Do you mean that you want to start the service with a parameter or that you want to change the flag whilst the service is running ?
If the former that then might help: https://stackoverflow.com/questions/42812333/pass-an-argument-to-a-windows-service-at-automatic-startup

If the latter then you have lots of options: named pipe, web sockets, WCF etc......
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform