private void SaveInformation() { // store config values in settings InMemoryConfig config = InMemoryConfig.Instance; config._port = int.Parse(textBoxPort.Text); config._syncFolder = textBoxSyncFolder.Text; config._password = HashUtil.MD5Hash(textBoxPassword.Text); config.SaveRegKey(); }