Beispiel #1
0
 static void Main(string[] args)
 {
     ListProcesses();
     ListSpecificProcess();
     EnumThreadsForPid(Process.GetCurrentProcess().Id);
     EnumModsForPid(Process.GetCurrentProcess().Id);
     //EnumModsForPid(4232);
     //StartAndKillProcess();
     //PStartInfo();
     ApplicationDomainDemo.DefaultAppDomain();
     ApplicationDomainDemo.ListAllAssembliesInAppDomain();
     ApplicationDomainDemo.InitDAD();
     CustomAppDomains.ListAllAssembliesInAppDomain();
     AppDomain ad = AppDomain.CurrentDomain;
     ad.ProcessExit += new EventHandler(ad_ProcessExit);
     SportsCar sc = new SportsCar();
     SportsCarTS ts = new SportsCarTS();
     Console.ReadLine();
 }
Beispiel #2
0
    static void TestContexts()
    {
        Console.WriteLine("******* Context stuff ******");
        SportsCar sport = new SportsCar();
        Console.WriteLine();

        SportsCar sport2 = new SportsCar();
        Console.WriteLine();

        SportsCarTS synchroSport = new SportsCarTS();
    }