Search code examples
lync-2010

can I start Lync 2010 client application using the Lync 2010 SDK


in cases where I am using Lync 2010 SDK (which depends on having the Lync 2010 client being installed and operational) in a web application and that client is closed, can I using the Lync 2010 SDK to start client application ?


Solution

  • You can do without using Lync SDK, Instead you can try out this

    bool isRunning = Process.GetProcessesByName("Communicator") .FirstOrDefault(p => p.MainModule.FileName.StartsWith(@"C:\Program Files (x86)\Microsoft Lync")) != default(Process); if(!isRunning) Process.Start("Communicator");

    May be this will be helpfull to you.

    thnks and regards.