public void loadNetworkConfiguration()
        {
            String loadfilename = this.configfilename;

            //if (System.IO.File.Exists(loadfilename))
            //{
            //    System.Xml.Serialization.XmlSerializer formatter = new System.Xml.Serialization.XmlSerializer(typeof(NetworkConfig));
            //    System.IO.FileStream aFile = new System.IO.FileStream(loadfilename, System.IO.FileMode.Open);
            //    byte[] buffer = new byte[aFile.Length];
            //    aFile.Read(buffer, 0, (int)aFile.Length);
            //    System.IO.MemoryStream stream = new System.IO.MemoryStream(buffer);
            //    this.networkConfig = ((NetworkConfig)formatter.Deserialize(stream));
            //    aFile.Close();
            //    stream.Close();
            //}
            //else
            //{
            //if there is no data available clean it up
            this.networkConfig = new NetworkConfig();
            this.networkConfig.ipAddress = "192.168.1.3";
            // this.networkConfig.ipAddress = "0.0.0.0";
            this.networkConfig.port = 4555;
            //save the stadardconfig
            this.saveNetworkConfiguration();
            this.dllConfiguration = new RBC.Configuration();
            this.dllConfiguration.debuggingActive = false;

            //}
        }