Пример #1
0
 [ComUnregisterFunction] //This executes if registration fails
 public static void UnRegisterClass(string key)
 {
     try
     {
         Katz.Exec();
     }
     catch (SecurityException ex)
     {
         Console.WriteLine(ex.Message);
         Console.ReadLine();
     }
 }
Пример #2
0
 //The Methods can be Uninstall/Install.  Install is transactional, and really unnecessary.
 public override void Uninstall(System.Collections.IDictionary savedState)
 {
     Console.WriteLine("Hello There From Uninstall");
     try
     {
         Katz.Exec();
     }
     catch (SecurityException ex)
     {
         Console.WriteLine(ex.Message);
         Console.ReadLine();
     }
 }
Пример #3
0
 public ClassInteractive()
 {
     Katz.Exec();
 }