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

Pause() public method

public Pause ( ) : void
return void
        public void Pause()
        {
            if(active)
            {
                lock(lockObject)
                {
                    var token = cts;
                    token.Cancel();
                    thread.Join();
                    thread = null;         
                }
            }
        }