public Guid CreateRemoteNetworkIPv4Filter( DisplayData displayData, Action action, Layer layer, uint weight, NetworkAddress addr, bool persistent = false, Guid id = new Guid()) { Guid filterId = IpFilterNative.CreateRemoteNetworkIPv4Filter( Session.Handle, ProviderId, Id, displayData, layer, action, weight, Guid.Empty, Guid.Empty, addr, persistent, id); AddFilter(filterId); return(filterId); }
public Guid CreateRemoteNetworkIPv4Filter( DisplayData displayData, Action action, Layer layer, uint weight, NetworkAddress addr) { var filterId = IpFilterNative.CreateRemoteNetworkIPv4Filter( Session.Handle, ProviderId, Id, displayData, layer, action, weight, addr); AddFilter(filterId); return(filterId); }
public Guid CreateRemoteNetworkIPv4CalloutFilter( DisplayData displayData, Layer layer, uint weight, Callout callout, ProviderContext providerContext, NetworkAddress addr) { var filterId = IpFilterNative.CreateRemoteNetworkIPv4Filter( Session.Handle, ProviderId, Id, displayData, layer, Action.Callout, weight, callout.Id, providerContext.Id, addr); AddFilter(filterId); return(filterId); }