Example #1
0
 static void AssemblyUtil_onGetVersionCompleted(OnGetVersionCompletedArgs args)
 {
     if (args.LastAssemblyVersion == Assembly.GetExecutingAssembly().GetName().Version.ToString())
         Game.PrintChat(string.Format("<font color='#fb762d'>DevKarma You have the latest version.</font>"));
     else
         Game.PrintChat(string.Format("<font color='#fb762d'>DevKarma NEW VERSION available! Tap F8 for Update! {0}</font>", args.LastAssemblyVersion));
 }
Example #2
0
        public AssemblyUtil(string pAssemblyName)
        {
            this.AssemblyName = pAssemblyName;

            versionCompletedArgs = new OnGetVersionCompletedArgs();
        }
Example #3
0
        public AssemblyUtil(string pAssemblyName)
        {
            this.AssemblyName = pAssemblyName;

            versionCompletedArgs = new OnGetVersionCompletedArgs();
        }