EaseFilter Demo Project
EaseFltCSConsoleDemo/ServiceInstaller.cs
Go to the documentation of this file.
1 //
3 // (C) Copyright 2012 EaseFilter Technologies Inc.
4 // All Rights Reserved
5 //
6 // This software is part of a licensed software product and may
7 // only be used or copied in accordance with the terms of that license.
8 //
10 
11 using System;
12 using System.ComponentModel;
13 using System.Configuration.Install;
14 using System.ServiceProcess;
15 
17 
18 namespace EaseFltCSConsoleDemo
19 {
20  [RunInstaller(true)]
21  public class WindowsServiceInstaller : Installer
22  {
28  {
29  ServiceProcessInstaller serviceProcessInstaller = new ServiceProcessInstaller();
30  ServiceInstaller serviceInstaller = new ServiceInstaller();
31 
32  //# Service Account Information
33  serviceProcessInstaller.Account = ServiceAccount.LocalSystem;
34  serviceProcessInstaller.Username = null;
35  serviceProcessInstaller.Password = null;
36 
37  //# Service Information
38  serviceInstaller.DisplayName = "EaseFilter Service";
39  serviceInstaller.StartType = ServiceStartMode.Automatic;
40 
41  // This must be identical to the WindowsService.ServiceBase name
42  // set in the constructor of WindowsService.cs
43  serviceInstaller.ServiceName = "EaseFilter Service";
44  serviceInstaller.Description = "EaseFilter File System Service";
45 
46  this.Installers.Add(serviceProcessInstaller);
47  this.Installers.Add(serviceInstaller);
48  }
49  }
50 }
WindowsServiceInstaller()
Public Constructor for WindowsServiceInstaller.

Social Network


Services Overview

Architect, implement and test file system filter drivers for a wide range of functionality. We can offer several levels of assistance to meet your specific.

Contact Us

You are welcome to contact us for salse or partnership.

Sales: sales@easefilter.com
Support: support@easefilter.com
Info: info@easefilter.com