xfNetLink .NET configuration settings

xfNetLink .NET uses settings in an application configuration file, which are entered with the xfNetLink .NET Configuration Utility, or set with environment variables. The latter is required for .NET 6 and higher, while .NET Framework applications can use either the configuration file or the environment variables. See Specifying configuration settings for more information on configuration files, environment variables, and whether you need to use these features.

Configuration File Settings for xfNetLink .NET

Use this setting

To specify this

Corresponding environment variable

For more information

host

Machine where xfServerPlus is running.

XFNLNET_CLASS_HOST

Creating and editing configuration files

port

Port that xfServerPlus is running on.

XFNLNET_CLASS_PORT

logging

The type of information to be logged.

XFNLNET_CLASS_LOGGING

Creating and editing configuration files

and

Using client-side logging

logfile

Name of the file that logging information should be written to.

XFNLNET_CLASS_LOGFILE

single log file

All sessions will share a common log file. (Otherwise, a separate log file will be used for each class that instantiates a connection to xfServerPlus.)

XFNLNET_CLASS_SINGLELOGFILE

connect timeout

Amount of time xfNetLink will wait for an acknowledgment from the session started by the logic server in xfServerPlus.

XFNLNET_CLASS_CONNECTTIMEOUT

Creating and editing configuration files

initialize timeout

(pooling only) Amount of time xfNetLink will wait for a return from a remote call to xfServerPlus when any of the five pooling support methods are called.

XFNLNET_CLASS_INITIALIZETIMEOUT

pool return

(pooling only) Objects will be returned to the pool after they are used.

XFNLNET_CLASS_POOLRETURN

encoding

The default character set used to encode and decode characters when sending data from .NET to Synergy.

XFNLNET_CLASS_ENCODING

Default Configuration Settings table or Synergex KB 2496