How to know Microsoft exchange version
<p>I am using </p>

<p>service = new ExchangeService(ExchangeVersion.Exchange2007_SP1);</p>

<p>if i use </p>

<p>service = new ExchangeService(); </p>

<p>it uses latest version which is Exchange2013</p>

<p>so i must know Exchange version in advance. So i need to know which version is installed in network.</p>

<p>So is there any way to know Exchange version through code or i have to put that in config app setting which will be set by client.</p>
