public static TAPInterface CreateAndGetTAP(this Emulation emulation, string hostInterfaceName, string name, bool persistent = false) { var result = new TAPInterface(hostInterfaceName, persistent); emulation.HostMachine.AddHostMachineElement(result, name); return(result); }
public static TAPInterface CreateAndGetTAP(this Emulation emulation, string hostInterfaceName, string name, bool persistent = false) { var result = new TAPInterface(hostInterfaceName, persistent); emulation.HostMachine.AddHostMachineElement(result, name); return result; }