hii,
Im developing an client server application in C#.
In that i have to use Mobile Agent technology.
On the Server side there is a class...which i want send to the client...by System.IO class..let the class be Mobile...and it has a methode mobilecode()
public class Mobile()
{
public void mobilecode()
{
Code for gathering data from client.
}
}
On the Client side i read this file by stream reader...and i save this class in the same directory of the client.cs project..
on main function of client.cs
i call the class by...
Mobile.mobilecode();
but while compiling..it gives the error...
Mobile doesnt exist...
even if i make an empty class Mobile...thinking it could b overwritten by the code sent from server...dat does not happen...on runtime it reads the same old file...and not the does not updates till the code is executed.
So can anyone help me ou here...as to how to send a class file 4m server to client at runtime and access it immediately at runtime...!!
any help wud b appreciated...
Thnx in advance,,,,!!