Session.RenderingEngine giving error

I am writing a routine to return the user’s browser info. This code works fine with WebSession.BrowserType… and WebSession.PlatformType… but seems to baulk at WebSession.RenderingEngine… Anyone know why?

[quote]Select Case Session.RenderingEngine
Case WebSession.RenderingEngine.WebKit <— error “this item does not exist”
Return “WebKit”

The enum is named EngineType, not renderingEngine.


Yes that works, thanks.

[quote]Select Case Session.RenderingEngine
Case WebSession.EngineType.Gecko
Return “Gecko”