/// <summary> /// Delete specific IP address binding from adapter. /// </summary> internal void Flush(IAdapter adapter, IPv4 address) { IPBinding ipb = (IPBinding)ipBindings[address]; if (ipb != null && ipb.Adapter == adapter) { Flush(ipb.IPConfiguration); } }
public IAdapter GetAdapter(IPv4 address) { IPBinding ipb = (IPBinding)ipBindings[address]; if (ipb == null) { return(null); } return(ipb.Adapter); }