this.StartPBEXE("http://okuwpunhan.ml/avara/web_launcherkey/GetLauncherKey.php"); private void StartPBEXE(string url) { try { WebRequest webRequest = WebRequest.Create(url); WebResponse response = webRequest.GetResponse(); StreamReader streamReader = new StreamReader(response.GetResponseStream()); string text = streamReader.ReadToEnd(); int startIndex = text.IndexOf("") + 5; int length = text.Substring(startIndex).IndexOf(""); string text2 = text.Substring(startIndex, length); this.LauncherKey = text2.ToString(); if (File.Exists("pbaze.exe")) { Process.Start(Application.StartupPath + "\\pbaze.exe", LauncherKey); } else { MessageBox.Show("Project Gold Dosyalarından biri bulunamadı!", "Gold Guard", MessageBoxButtons.OK, MessageBoxIcon.Hand); Application.Exit(); } } catch (Exception ex) { MessageBox.Show(string.Format("Bilinmeyen bir hata oluştu!x\nHata!: {0}", ex.Message), "Gold Guard", MessageBoxButtons.OK, MessageBoxIcon.Hand); Application.Exit(); } }