Report question

Question: How can C# Library Code know it's hosting application type without System.Web.dll?