write a example for remoting (code)

Answer Posted / arunkumar thimma

public class CommonClass : MarshalByRefObject
{

public string FirstName;

public string LastName;

public string GetWelcomeString()
{
Console.WriteLine("Welcome " + FirstName + " " + LastName);
return "Welcome " + FirstName + " " + LastName;
}

}

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference beween the registerwellknownservicetype() and registerwellknownclienttype()?

782


Explain threading types?

813


Explain the differences between marshal by value and marshal by reference?

769


Is it a good design practice to distribute the implementation to remoting client?

683


Define proxy in .net remoting?

736


Explain how to perform remoting?

711


What are the ways to configure remoting objects before client can use them?

807


Will clr handle unmanaged code or not?

726


Explain Singleton design pattern of Remoting?

729


Difference between .net remoting versus distributed com?

741


Explain the difference between the registerwellknownservicetype(), registerwellknownclienttype(), registeractivatedservicetype() and registeractivatedclienttype() in .net?

705


Explain how to directly call a native function exported from a dll?

704


Hello, I want to connect a system in LAN and i want to access that.When ever i am moving a mouse in my desktop the similar thing have to happend in the another system in which i have connected. I need coding for this in c# and .NET . any one please help me.It is very urgent to me Advance thanks. my email id:manojkumarchallagundla@gmail.com

2477


What are the channels in .net remoting?

705


What are the security measures exist for .net remoting in system.runtime.remoting?

790