title: Is assembly running in SQL Server or from a Windows app
body: <p>How can I determine if an assembly is running from a <code>SQL</code> Server <code>CLR</code> stored procedure or if it is running from a Windows app?</p>