# OpcServerDiagnostics Class

<dl class="api-definition">
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx.server">Opc.UaFx.Server</a></dd>
<dt>Assembly</dt>
<dd>Opc.UaFx.Advanced.dll</dd>
<dt>Package</dt>
<dd>Opc.UaFx.Advanced v2.59.0</dd>
<dt>Members</dt>
<dd><a href="./members">OpcServerDiagnostics Members</a></dd>
</dl>

Provides diagnostic summary information for the server.

## Syntax

<div class="api-signature" data-lang="csharp">

```csharp
public class OpcServerDiagnostics
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Class OpcServerDiagnostics
```

</div>

## Inheritance

[Object](https://learn.microsoft.com/dotnet/api/system.object) → **OpcServerDiagnostics**

## Properties

| Name | Description |
|---|---|
| [CumulatedSessionCount](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcserverdiagnostics/members#cumulatedsessioncount) | Gets the cumulative number of client sessions that have been established in the server since the server was started (or restarted). |
| [CumulatedSubscriptionCount](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcserverdiagnostics/members#cumulatedsubscriptioncount) | Gets the cumulative number of subscriptions that have been established in the server since the server was started (or restarted). |
| [CurrentSessionCount](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcserverdiagnostics/members#currentsessioncount) | Gets the number of client sessions currently established in the server. |
| [CurrentSubscriptionCount](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcserverdiagnostics/members#currentsubscriptioncount) | Gets the number of subscriptions currently established in the server. |
| [IsEnabled](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcserverdiagnostics/members#isenabled)<span class="api-meta">since v2.58</span> | Gets or sets a value indicating whether the server maintains the diagnostic information of its sessions and subscriptions in the address space. |
| [PublishingIntervalCount](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcserverdiagnostics/members#publishingintervalcount) | Gets the number of publishing intervals currently supported in the server. |
| [RejectedRequestsCount](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcserverdiagnostics/members#rejectedrequestscount) | Gets the number of requests that were rejected since the server was started (or restarted). |
| [RejectedSessionCount](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcserverdiagnostics/members#rejectedsessioncount) | Gets the number of client session establishment requests (ActivateSession and CreateSession) that were rejected since the server was started (or restarted). |
| [SecurityRejectedRequestsCount](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcserverdiagnostics/members#securityrejectedrequestscount) | Gets the number of requests that were rejected due to security constraints since the server was started (or restarted). |
| [SecurityRejectedSessionCount](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcserverdiagnostics/members#securityrejectedsessioncount) | Gets the number of client session establishment requests (ActivateSession and CreateSession) that were rejected due to security constraints since the server was started (or restarted). |
| [ServerViewCount](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcserverdiagnostics/members#serverviewcount) | Gets the number of server-created views in the server. |
| [SessionAbortCount](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcserverdiagnostics/members#sessionabortcount) | Gets the number of client sessions that were closed due to errors since the server was started (or restarted). |
| [SessionTimeoutCount](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcserverdiagnostics/members#sessiontimeoutcount) | Gets the number of client sessions that were closed due to timeout since the server was started (or restarted). |

## Applies to

| Package | Versions |
|---|---|
| Opc.UaFx.Advanced | v2.5–v2.59 |
