TcpChannel channel = new TcpChannel ();
ChannelServices.RegisterChannel (channel);
Example obj = (Example) Activator.GetObject (
typeof (Example), "tcp://localhost:12345/Example");
obj.printMessage ("Hello World !");
Transport channel instantiated explicitly.
Remote object located using well known name.
Lifecycle managed using predefined pattern.