Sign In/My Account | View Cart  

advertisement

AddThis Social Bookmark Button

Article:
  Developing Windows Services
Subject:   Sending parameters to windows services
Date:   2004-01-14 13:50:53
From:   anonymous2
Response to: Sending parameters to windows services

I believe in the:


protected override void OnStart(string[] args)
{
// TODO: Add code here to start your service.


if (args.Length > 0)
{
string myValue = args[0].Trim();
}
}