CloverWindowsSDKREST.CloverRESTServiceInstaller.CloverRESTServiceInstaller C# (CSharp) Method

CloverRESTServiceInstaller() public method

public CloverRESTServiceInstaller ( ) : System.ComponentModel
return System.ComponentModel
        public CloverRESTServiceInstaller()
        {
            processInstaller = new ServiceProcessInstaller();
            serviceInstaller = new ServiceInstaller();

            processInstaller.Account = ServiceAccount.LocalSystem;
            serviceInstaller.StartType = ServiceStartMode.Automatic;
            serviceInstaller.DisplayName = CloverRESTService.SERVICE_NAME;
            serviceInstaller.ServiceName = CloverRESTService.SERVICE_NAME;
            serviceInstaller.Description = "Provides a REST Service wrapper for the Clover SDK";

            this.Installers.Add(processInstaller);
            this.Installers.Add(serviceInstaller);
        }
CloverRESTServiceInstaller