diff options
Diffstat (limited to 'src/ext/Firewall/wixext/FirewallConstants.cs')
| -rw-r--r-- | src/ext/Firewall/wixext/FirewallConstants.cs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/ext/Firewall/wixext/FirewallConstants.cs b/src/ext/Firewall/wixext/FirewallConstants.cs new file mode 100644 index 00000000..7bb12ba4 --- /dev/null +++ b/src/ext/Firewall/wixext/FirewallConstants.cs | |||
| @@ -0,0 +1,23 @@ | |||
| 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 | |||
| 3 | namespace 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_RULE_DIR_IN = 1; | ||
| 13 | public const int NET_FW_RULE_DIR_OUT = 2; | ||
| 14 | public const int NET_FW_IP_PROTOCOL_TCP = 6; | ||
| 15 | public const int NET_FW_IP_PROTOCOL_UDP = 17; | ||
| 16 | |||
| 17 | // from icftypes.h | ||
| 18 | public const int NET_FW_PROFILE2_DOMAIN = 0x0001; | ||
| 19 | public const int NET_FW_PROFILE2_PRIVATE = 0x0002; | ||
| 20 | public const int NET_FW_PROFILE2_PUBLIC = 0x0004; | ||
| 21 | public const int NET_FW_PROFILE2_ALL = 0x7FFFFFFF; | ||
| 22 | } | ||
| 23 | } | ||
