Microsoft.Networking.SerialPort.Close C# (CSharp) Method

Close() public method

public Close ( ) : void
return void
        public void Close()
        {
            if (port != null)
            {
                port.Close();
                port = null;
            }
        }