Getting confused on return type
===

Hello I am trying to create a button in C# that if you press it. It should produce a message box on what the IP address is from the attached txt file. But I am getting errors that I not able to fix. I think I have my return type mixed up and I have always had trouble with that here is the code.

    private String getIPAddress()
        {

            String x;

            using (TextReader configfile = File.OpenText("PC104Configs.txt"))
                while (configfile.Peek() > -1)  // If therre are no more characters in this line
                {
                    x = configfile.ReadLine();

                    if (x.Length == 0)
                    {
                        // This is a blank line
                        continue;
                    }

                    if (x.Substring(0, 1) == ";")
                    {
                        // This is a comment line
                        continue;
                    }

                    if (x == trueIP)
                    {
                        // This is the real deal
                        testPort = configfile.ReadLine();
                        testIP = trueIP;
                        return MessageBox.Show(trueIP);
                    }
                }  // End of 'while' there are more characters loop

            UnitToTest.Text = "";

            MessageBox.Show("Specified Configuration Not Found!");

            return (false);
        }


        private void btnSendConfig_Click(object sender, EventArgs e)
        {
            getIPAddress();
        }