-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathProjectInstaller.Designer.cs
More file actions
61 lines (55 loc) · 2.06 KB
/
ProjectInstaller.Designer.cs
File metadata and controls
61 lines (55 loc) · 2.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
namespace PortFail2Ban
{
partial class ProjectInstaller
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region 组件设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要修改
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.spiProject = new System.ServiceProcess.ServiceProcessInstaller();
this.Installer = new System.ServiceProcess.ServiceInstaller();
//
// spiProject
//
this.spiProject.Account = System.ServiceProcess.ServiceAccount.LocalSystem;
this.spiProject.Password = null;
this.spiProject.Username = null;
//
// Installer
//
this.Installer.Description = "Prevent brute attack for remote desktop, ssh etc by connection counter, Windows f" +
"irewall required.";
this.Installer.DisplayName = "PortFail2Ban";
this.Installer.ServiceName = "PortFail2Ban";
this.Installer.StartType = System.ServiceProcess.ServiceStartMode.Automatic;
//
// ProjectInstaller
//
this.Installers.AddRange(new System.Configuration.Install.Installer[] {
this.spiProject,
this.Installer});
}
#endregion
private System.ServiceProcess.ServiceProcessInstaller spiProject;
private System.ServiceProcess.ServiceInstaller Installer;
}
}