VSNDK.DebugEngine.AD7Port.AD7Port C# (CSharp) Method

AD7Port() public method

Constructor.
public AD7Port ( AD7PortSupplier supplier, AD7PortRequest request, System.Guid guid, string portName, string password, bool isSimulator, string toolsPath ) : System
supplier AD7PortSupplier The port supplier for this port.
request AD7PortRequest The request used to create the port.
guid System.Guid The GUID that identifies the port.
portName string The name of the port.
password string The password needed to have access to the port.
isSimulator bool Variable that indicates if the port is associated to the Simulator or the Device.
toolsPath string The NDK host path.
return System
        public AD7Port(AD7PortSupplier supplier, AD7PortRequest request, Guid guid, string portName, string password, bool isSimulator, string toolsPath)
        {
            m_name = portName;
            m_request = request;
            m_supplier = supplier;
            m_guid = guid;
            if (isSimulator)
                m_IP = m_name.Substring(11);
            else
                m_IP = m_name.Substring(8);
            m_password = password;
            m_isSimulator = isSimulator;
            m_toolsPath = toolsPath;
        }