aboutsummaryrefslogtreecommitdiff
path: root/src/ext/Firewall/wixext/FirewallConstants.cs
blob: 7bb12ba47a5587ecd193045889802f98b5d99e4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// 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.

namespace WixToolset.Firewall
{
    using System;
    using System.Collections.Generic;
    using System.Text;

    static class FirewallConstants
    {
        // from icftypes.h
        public const int NET_FW_RULE_DIR_IN = 1;
        public const int NET_FW_RULE_DIR_OUT = 2;
        public const int NET_FW_IP_PROTOCOL_TCP = 6;
        public const int NET_FW_IP_PROTOCOL_UDP = 17;

        // from icftypes.h
        public const int NET_FW_PROFILE2_DOMAIN = 0x0001;
        public const int NET_FW_PROFILE2_PRIVATE = 0x0002;
        public const int NET_FW_PROFILE2_PUBLIC = 0x0004;
        public const int NET_FW_PROFILE2_ALL = 0x7FFFFFFF;
    }
}