Reputation: 8170
Anyone know the <%= %> or Response.Write() code for getting the version of .Net my web app is running on?
<%= %>
Response.Write()
Upvotes: 3
Views: 10855
Reputation:
System.Runtime.InteropServices.RuntimeEnvironment.GetSystemVersion
Upvotes: 0
Reputation: 10591
System.Environment.Version will give you that.
System.Environment.Version
Upvotes: 12