Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: void Install(string, string, string)

Declaration

public void Install(
    string user,
    string password,
    string exeArgs
)

Summary

Installs all services in this process (i.e. registers them with the service manager). All services are initially stopped.

Parameters

stringuserComputer account to use for this service process. This user must have the "Log on as a service" permission (though the call succeeds regardless).
stringpasswordAccount password for the specified user. Note that its validity is not verified.
stringexeArgsOptional arguments to be used when started by the service manager. May be null. See Remarks on SelfServiceProcess.