You are here: Configuration > Networking Configuration > Client Server Factory

Client Server Factory

Allows you to change the behavior how a client or a server is created.

This setting should be set to the same value on the server and the clients.

IClientConfiguration configuration = Db4oClientServer.NewClientConfiguration();
configuration.Networking.ClientServerFactory = new StandardClientServerFactory();
NetworkConfigurationExample.cs: exchange the way a client or server is created
Dim configuration As IClientConfiguration = Db4oClientServer.NewClientConfiguration()
configuration.Networking.ClientServerFactory = New StandardClientServerFactory()
NetworkConfigurationExample.vb: exchange the way a client or server is created