It's not a bad idea. The solution to get your ASP.NET Web App DLL version is simple:
VB.NET
My.Application.Info.Version (VB.NET)
C#
Gain access to the My namespace as shown here http://www.codeproject.com/KB/cs/MyNamespace.aspx
Much easier than using tons of code.