تقييم الموضوع :
  • 0 أصوات - بمعدل 0
  • 1
  • 2
  • 3
  • 4
  • 5
#AutoUpdater C
#3
(07-10-17, 06:08 PM)a.ahmed كتب :
PHP كود :
public Form1()
{
 
   InitializeComponent();
 
   System.Threading.Thread thread = new System.Threading.Thread(checkupdate) { IsBackground true };
 
   thread.Start();
}

void checkupdate()
{
 
   string url "https://dl.dropboxusercontent.com/s/gaxr0fsgogvrok2/update.txt";
 
   string newver = new System.Net.WebClient().DownloadString(url);
 
   newver newver.Replace(","".");
 
   if (newver != Application.ProductVersion
 
   {
 
       MessageBox.Show("New version: " newver);
 
       //..........
 
   }

ياشيخ أحمد ممكن
 إذا تنفظ الأمر يتحمل ProgressBar1 ؟
الرد }}}
تم الشكر بواسطة:


الردود في هذا الموضوع
#AutoUpdater C - بواسطة adel500 - 07-10-17, 04:46 PM
RE: #AutoUpdater C - بواسطة a.ahmed - 07-10-17, 06:08 PM
RE: #AutoUpdater C - بواسطة adel500 - 17-10-17, 05:14 PM

التنقل السريع :


يقوم بقرائة الموضوع: