Example #1
0
 public void Start()
 {
     server = new Server
     {
         Services =
         {
             Directory.BindService(new DirectoryImpl()),
             File.BindService(new FileImpl()),
             Remote.BindService(new RemoteImpl())
         },
         Ports = { new ServerPort(Host, Port, ServerCredentials.Insecure) }
     };
     server.Start();
     ServerStarted = true;
 }