Exemple #1
0
        static void Main(string[] args)
        {
            CurrentDomain.AssemblyResolve += MyResolveEventHandler;

            Console.WriteLine("sss");
            ServerProxy x = new ServerProxy("http://localhost:3142/dsf", CredentialCache.DefaultNetworkCredentials);
            ServerProxy y = new ServerProxy("http://tst-ci-remote-obsolete:3142/dsf", CredentialCache.DefaultNetworkCredentials);

            x.Connect(Guid.NewGuid());
            y.Connect(Guid.NewGuid());

            Console.WriteLine("sss");
            Console.ReadLine();
        }
        static void Main(string[] args)
        {

             

            CurrentDomain.AssemblyResolve += MyResolveEventHandler;

           Console.WriteLine("sss");
            ServerProxy x = new ServerProxy("http://localhost:3142/dsf",CredentialCache.DefaultNetworkCredentials);
            ServerProxy y = new ServerProxy("http://tst-ci-remote:3142/dsf", CredentialCache.DefaultNetworkCredentials);
            x.Connect(Guid.NewGuid());
            y.Connect(Guid.NewGuid());

            Console.WriteLine("sss");
            Console.ReadLine();
        }