how can i know if any file of a solution is opened in visual studio 2012 using c#

I am having a solution / website named as web opened in visual studio ,is there any code so that I can know if any file of that solution/website is opened?so that I can prompt the user to close that?

Source: .net

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.