Esempio n. 1
0
        public Guid CreateAppCalloutFilter(DisplayData displayData,
                                           Layer layer,
                                           uint weight,
                                           Callout callout,
                                           ProviderContext providerContext,
                                           string appPath,
                                           bool persistent = false,
                                           Guid id         = new Guid())
        {
            Guid filterId = IpFilterNative.CreateAppFilter(
                Session.Handle,
                ProviderId,
                Id,
                displayData,
                layer,
                Action.Callout,
                weight,
                callout.Id,
                providerContext.Id,
                appPath,
                persistent,
                id);

            AddFilter(filterId);

            return(filterId);
        }
Esempio n. 2
0
        public Guid CreateAppFilter(
            DisplayData displayData,
            Action action,
            Layer layer,
            uint weight,
            string appPath,
            bool persistent = false,
            Guid id         = new Guid())
        {
            Guid filterId = IpFilterNative.CreateAppFilter(
                Session.Handle,
                ProviderId,
                Id,
                displayData,
                layer,
                action,
                weight,
                Guid.Empty,
                Guid.Empty,
                appPath,
                persistent,
                id);

            AddFilter(filterId);

            return(filterId);
        }
Esempio n. 3
0
        public Guid CreateAppCalloutFilter(DisplayData displayData,
                                           Layer layer,
                                           uint weight,
                                           Callout callout,
                                           ProviderContext providerContext,
                                           string appPath)
        {
            var filterId = IpFilterNative.CreateAppFilter(
                Session.Handle,
                ProviderId,
                Id,
                displayData,
                layer,
                Action.Callout,
                weight,
                callout.Id,
                providerContext.Id,
                appPath);

            AddFilter(filterId);

            return(filterId);
        }
Esempio n. 4
0
        public Guid CreateAppFilter(
            DisplayData displayData,
            Action action,
            Layer layer,
            uint weight,
            string appPath)
        {
            var filterId = IpFilterNative.CreateAppFilter(
                Session.Handle,
                ProviderId,
                Id,
                displayData,
                layer,
                action,
                weight,
                Guid.Empty,
                Guid.Empty,
                appPath);

            AddFilter(filterId);

            return(filterId);
        }