Ejemplo n.º 1
0
        public static Guid BlockOutsideDns(
            IntPtr sessionHandle,
            Guid providerId,
            Guid sublayerId,
            DisplayData displayData,
            Layer layer,
            Action action,
            uint weight,
            Guid calloutId,
            uint index)
        {
            var id = Guid.Empty;

            AssertSuccess(() => PInvoke.BlockOutsideDns(
                              sessionHandle,
                              ref providerId,
                              ref sublayerId,
                              ref displayData,
                              (uint)layer,
                              (uint)action,
                              weight,
                              ref calloutId,
                              index,
                              ref id));

            return(id);
        }