Emul8.HostInterfaces.Network.LinuxTapInterface.Resume C# (CSharp) Method

Resume() public method

public Resume ( ) : void
return void
        public void Resume()
        {
            if(active)
            {
                lock(lockObject)
                {
                    cts = new CancellationTokenSource();
                    thread = new Thread(() => TransmitLoop(cts.Token)) {
                        Name = this.GetType().Name,
                        IsBackground = true
                    };
                    thread.Start();
                }
            }
        }