public override DebugPort FindPort(string name)
            {
                for (int i = 0; i < _ports.Length; i++)
                {
                    DebugPort port = _ports[i];

                    if (String.Compare(port.Name, name, true) == 0)
                    {
                        return(port);
                    }
                }

                return(null);
            }
            new public int AddPort(IDebugPortRequest2 pRequest, out IDebugPort2 ppPort)
            {
                string name;

                pRequest.GetPortName(out name);
                ppPort = FindPort(name);

                if (ppPort == null)
                {
                    DebugPort port = _ports[(int)PortFilter.TcpIp];
                    //hack, hack.  Abusing the Attach to dialog box to force the NetworkDevice port to
                    //look for a nanoCLR process
                    if (port.TryAddProcess(name) != null)
                    {
                        ppPort = port;
                    }
                }

                return(COM_HResults.BOOL_TO_HRESULT_FAIL(ppPort != null));
            }