<p>How can I tell if an assembly is in use by any process?</p>

If you want to know if your application has loaded the assembly, you can inspect the AppDomain for loaded assemblies. If you want to know if the assembly is loaded by
any
process on the machine, it gets a little bit trickier. Which of the above do you need ?