public Sublayer CreateSublayer(DisplayData displayData, uint weight) { var id = IpFilterNative.CreateSublayer( Session.Handle, ProviderId, displayData, weight); return(new Sublayer(this, id)); }
public Sublayer CreateSublayer(DisplayData displayData, uint weight, bool persistent = false, Guid id = new Guid()) { var sublayerId = IpFilterNative.CreateSublayer( Session.Handle, ProviderId, displayData, weight, persistent, id); return(new Sublayer(this, sublayerId)); }