I need to simulate some JavaScript code using C#. In particular, I need to write some code in C# that'd parallel some functionalities of the Navigator object in JavaScript.
This site introduces the Navigator object in the JavaScript library. http://www.w3schools.com/jsref/obj_navigator.asp
Is there a method/function in the C# library that'd simulate the JavaScipt method navigator.userAgent? (for reference: http://www.w3schools.com/jsref/prop_nav_useragent.asp)
How about navigator.language? ( http://www.w3schools.com/jsref/prop_nav_language.asp )
In fact, which methods in the Navigator object can be simulated by C#? And which ones cannot?
Thank you!!