[Mono-list] C# , args[] -newbie
Daniel Grigoras
dgrigoras@yahoo.com
Tue, 30 Jul 2002 11:39:55 -0700 (PDT)
hello,
I'm new to dotnet and I try to make a simple
application with Remoting.
I have the standard three files : General, Server,
Client .
In General file I have this declaration :
public abstract class BaseTest: MarshalByRefObject
{
public abstract String GetInfoContent(String file,
out byte[] info, out byte[] content);
}
and in Server file I make the implementation of this
class.
All these for implement a simple file server , the
application must make like that :
server directory&
client file&
and in the client console to see the content of the
file ..if it exists !
But , now I can send from seerver to client just the
file from the same director
like server. How can I make on the server-side to
process : directory + file
where directory = args[0]'server-side and file =
args[0]'client-side ?
I try something with GetContent(ref file, out,out )
...but in the class implementation
how can I use args[0] ...
Thanks in advance !
Daniel
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com