public Guid CreateNetInterfaceFilter( DisplayData displayData, Action action, Layer layer, uint index, uint weight, bool persistent = false, Guid id = new Guid()) { Guid filterId = IpFilterNative.CreateNetInterfaceFilter( Session.Handle, ProviderId, Id, displayData, layer, action, weight, index, persistent, id); AddFilter(filterId); return(filterId); }
public Guid CreateNetInterfaceFilter( DisplayData displayData, Action action, Layer layer, uint weight, string interfaceId) { var filterId = IpFilterNative.CreateNetInterfaceFilter( Session.Handle, ProviderId, Id, displayData, layer, action, weight, interfaceId); AddFilter(filterId); return(filterId); }