I am trying to start a service with an argument that specifies a port number. For example, using DOS networking, I would do the following:
net start "SERVICENAME" /"ARGUMENT"
How would I do the same in C # using Service.Controller.Start ()?
source
to share