using System;

namespace Wrox.Samples
{
	/// <summary>
	/// Summary description for Class1.
	/// </summary>
	public class MyRemoteObject : System.MarshalByRefObject
	{
		public MyRemoteObject()
		{
         Console.WriteLine("Constructor called");
		}

        public string Hello()
        {
            Console.WriteLine("Hello called");
            return "Hello, .NET Client!";
        }
	}
}