Or discuss with the Firebird developers if they can avoid loading System.Web all the time
http://stackoverflow.com/questions/5154272/how-can-c-sharp-library-code-know-its-hosting-application-type-without-system-w
http://stackoverflow.com/questions/5154272/how-can-c-sharp-library-code-know-its-hosting-application-type-without-system-w