ClientContext.ServerVersion property

Gets the version of the current SharePoint Server.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

public Version ServerVersion { get; }

Property value

Type: System.Version
The version of the current SharePoint Server.

The property is available after the first ExecuteQuery method is executed.

Show: