|
Listing 22-17 extracted from chapter
.NET Remoting
Listing 22-16< > Listing 22-18
This listing can be compiled with the command line: csc.exe /out:Serveur.exe /target:exe Example_22_17_to_rename_Serveur.cs /r:ObjServer.dll Errors: 0 Warnings: 0
Example_22_17_to_rename_Serveur.cs
using System;
using System.Runtime.Remoting;
using System.Runtime.Remoting.Channels;
using System.Runtime.Remoting.Channels.Http;
using RemotingObjServer;
namespace RemotingServer {
class Program {
static void Main() {
RemotingConfiguration.Configure( "Host.config", false );
Console.WriteLine( "Press a key to stop the server..." );
Console.Read();
}
}
}
Copyright Patrick Smacchia 2006 2007
|