aboutsummaryrefslogtreecommitdiff
path: root/src/wixext/FirewallConstants.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wixext/FirewallConstants.cs')
-rw-r--r--src/wixext/FirewallConstants.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/wixext/FirewallConstants.cs b/src/wixext/FirewallConstants.cs
new file mode 100644
index 00000000..16caa5b4
--- /dev/null
+++ b/src/wixext/FirewallConstants.cs
@@ -0,0 +1,21 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3namespace WixToolset.Firewall
4{
5 using System;
6 using System.Collections.Generic;
7 using System.Text;
8
9 static class FirewallConstants
10 {
11 // from icftypes.h
12 public const int NET_FW_IP_PROTOCOL_TCP = 6;
13 public const int NET_FW_IP_PROTOCOL_UDP = 17;
14
15 // from icftypes.h
16 public const int NET_FW_PROFILE2_DOMAIN = 0x0001;
17 public const int NET_FW_PROFILE2_PRIVATE = 0x0002;
18 public const int NET_FW_PROFILE2_PUBLIC = 0x0004;
19 public const int NET_FW_PROFILE2_ALL = 0x7FFFFFFF;
20 }
21}