# NatsClientSettings Properties

- Package: [Aspire.NATS.Net](/reference/api/csharp/aspire.nats.net.md)
- Type: [NatsClientSettings](/reference/api/csharp/aspire.nats.net/natsclientsettings.md)
- Kind: `Properties`
- Members: `3`

Provides the client configuration settings for connecting to a NATS cluster.

## ConnectionString

- Name: `ConnectionString`
- Modifiers: `nullable` `get; set`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Components/Aspire.NATS.Net/NatsClientSettings.cs)

Gets or sets the connection string of the NATS cluster to connect to.

```csharp
public string? ConnectionString { get; set; }
```

## DisableHealthChecks

- Name: `DisableHealthChecks`
- Modifiers: `get; set`
- Returns: `bool`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Components/Aspire.NATS.Net/NatsClientSettings.cs)

Gets or sets a boolean value that indicates whether the NATS health check is disabled or not.

```csharp
public bool DisableHealthChecks { get; set; }
```

## DisableTracing

- Name: `DisableTracing`
- Modifiers: `get; set`
- Returns: `bool`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Components/Aspire.NATS.Net/NatsClientSettings.cs)

Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.

```csharp
public bool DisableTracing { get; set; }
```
