Пример #1
0
 static void Main(string[] args) {
    InstanceContext objSite = new InstanceContext(new CallbackHandler());
    ServiceInfoClient objProxy = new ServiceInfoClient(objSite);
    Console.WriteLine("Type the path");
    string strPath = Console.ReadLine();
    objProxy.GetDirectoryInfo(strPath);
    Console.ReadKey();
 }
Пример #2
0
        static void Main(string[] args)
        {
            InstanceContext   objSite  = new InstanceContext(new CallbackHandler());
            ServiceInfoClient objProxy = new ServiceInfoClient(objSite);

            Console.WriteLine("Type the path");
            string strPath = Console.ReadLine();

            objProxy.GetDirectoryInfo(strPath);
            Console.ReadKey();
        }