Tag: C#

How To Check for Program updates in C#

Part 1 : Hi, have a good day. This simple class will help to check for your application updates, and it’s very simple. First create a text file on your website “myapp-pro.txt” for example: and add the following content to it : MyAppPro;2.0;http://www.smart-arab.com/MyAppPro-2.0.zip Notice that each properties is  separated with “;”. C# Class : class CheckUpdates { […]

Access INI File with C#

Hi have a good day This simple class will allow to Write and Read INI Files ( Old Windows Settings Files ) using System; using System.Runtime.InteropServices; using System.Text; class INIFile { [DllImport(“kernel32.dll”)] private static extern int WritePrivateProfileString(string ApplicationName, string KeyName, string StrValue, string FileName); [DllImport(“kernel32.dll”)] private static extern int GetPrivateProfileString(string ApplicationName, string KeyName, string DefaultValue, […]

Save / Restore Application Settings using File

This Simple Class will allow you to Save and restore any class instance using files. It’s very useful if you want to save your Application settings, Specially if your Application is portable, Or if you do want to use Windows registry. The Class Code : using System; using System.Collections.Generic; using System.Text; using System.IO; using System.Reflection; […]

What programs are using the internet ?

Hi, This Simple Tool will show you a list of all Applications that are currently connected to the Internet. You can Terminate any On-line Process you want by right clicking on it’s name. Or you can open process location So you can easily identify it. P.S: This tool required Microsoft Framework .NET you can get […]