[About] Version=1.0 Author=Nic Mail=support@hiasm.com [Type] Class=Element Interfaces=Component,MarshalByRefObject,Object,ServiceController Info=Represents a Windows service and allows you to connect to a running or stopped service, manipulate it, or get information about it. [Property] Name=Sets the name of the component. ARG(string)|2| Constructor=Sets the Constructor of the ServiceController class. ARG(enum)|14|0|None,Constructor,Constructor2,Constructor3 @MachineName=Sets the computer name of the server that is running this service, without the preceding backslash characters (\\). ARG(string)|2| @DisplayName=Sets a friendly name for the service. ARG(string)|2| @ServiceName=Sets the name that identifies the service that this instance references. ARG(string)|2| [Methods] *doConstructor=Initializes a new instance of the ServiceController class that is not associated with a specific service. ARG()|1|0 doConstructor2=Initializes a new instance of the ServiceController class that is associated with an existing service on the local computer. ARG(string servicename)|1|0 *doConstructor3=Initializes a new instance of the ServiceController class that is associated with an existing service on the specified computer. ARG(string name, string machineName)|1|0 doClose=Disconnects this ServiceController instance from the service and frees all the resources that the instance allocated. ARG()|1|0 *doGetDevices2=Retrieves the device driver services on the specified computer. ARG(string machineName)|1|0 *doGetServices2=Retrieves all the services on the specified computer, except for the device driver services. ARG(string machineName)|1|0 *onGetDevices=Occurs after invoke the method doGetDevices and returns the result. ARG(ServiceController[])|2|13 *onGetServices=Occurs after invoke the method doGetServices and returns the result. ARG(ServiceController[])|2|13 *CanPauseAndContinue=Returns a value indicating whether the service can be paused and resumed. ARG(bool)|3|104 *CanShutdown=Returns a value indicating whether the service should be notified when the system is shutting down. ARG(bool)|3|104 *CanStop=Returns a value indicating whether the service can be stopped after it has started. ARG(bool)|3|104 *DependentServices=Returns the set of services that depends on the service associated with this ServiceController instance. ARG(ServiceController[])|3|13 *DisplayName=Returns a friendly name for the service. ARG(string)|3|2 *GetDevices=Retrieves the device driver services on the local computer. ARG(ServiceController[])|3|13 *GetServices=Retrieves all the services on the local computer, except for the device driver services. ARG(ServiceController[])|3|13 *ServiceHandle=Returns the handle for the service. ARG(SafeHandle)|3|0 *ServicesDependedOn=The set of services that this service depends on. ARG(ServiceController[])|3|13 *ServiceType=Returns the type of service that this object references. ARG(ServiceType)|3|0 *Status=Returns the status of the service that is referenced by this instance. ARG(ServiceControllerStatus)|3|0 ServiceController=Returns the ServiceController object. ARG(ServiceController)|3|0 *machineName=Defines the computer on which the service resides. ARG(string)|4|2 ServiceName=Defines the name that identifies the service to the system. This can also be the display name for the service. ARG(string)|4|2