Example #1
0
 static void Main(string[] args)
 {
     InstanceContext site = new InstanceContext(new CallbackHandler());
     DuplexSvcClient proxy = new DuplexSvcClient(site);
     proxy.ReturnTime(2, 5);
     Console.ReadKey();
 }
Example #2
0
        static void Main(string[] args)
        {
            InstanceContext site = new InstanceContext(new CallbackHandler());

            DuplexSvcClient proxy = new DuplexSvcClient(site);

            proxy.ReturnTime(2, 5);

            Console.ReadKey();
        }