EwsGetExchangeVersionString Method
Gets the MS Exchange version as a string.

Namespace: MailBee.EwsMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.2.0 build 630 for .NET 4.5
public string GetExchangeVersionString()

Return Value

Type: String
The MS Exchange version if at least EWS API request has been completed using this Ews instance; otherwise, or a null reference (Nothing in Visual Basic).

You need to do any action which causes the request to be sent to the MS Exchange server to have this property set. For instance, TestConnection.

The example of the returned value: "Exchange2010_SP1".

See Also