Skip to main content

AR51ClientOptions

record · sealed thread-safe
namespace AR51.Net;

public sealed record AR51ClientOptions

Settings for AR51Client.Create. The defaults work for a standard AR 51 installation.

How-to

This page is reference (facts only). For a walkthrough with a complete sample, see the Connecting guide.

Properties​

PropertyTypeAccessDefaultDescription
Hoststring?get · init—Host name or IP address of the AR 51 server. null (the default) finds the server automatically on the local network. Set it when automatic discovery is blocked, for example across subnets or by a firewall.
RegistrationPortintget · init1501Port of the server's registration service, used with Host. Default: 1501.
DiscoveryPortintget · init1500UDP port used to find the server on the local network. Default: 1500.
DiscoveryTimeoutTimeSpanget · initTimeSpan.FromSeconds(1)How long to wait for the server to answer one discovery attempt. Default: 1 second.
ReconnectDelayTimeSpanget · initTimeSpan.FromSeconds(1)Pause between connection attempts after a failure or a lost connection. Default: 1 second.

See also​

Was this page helpful?