Hi..I am new to this community and very new to this....
How can I find out the OS Version my computer is running with ASP.NET???
Thanks for any reply.....
|
Light Poster
|
|
| 16May2008,16:17 | #2 |
|
Hi,
you need to know version of client machine or the server machine on which your website resides. also is it hosted on Windows/Linux/Mac ? once you provide this details, i'll surely answer your q's. |
|
Newbie Member
|
|
| 14Mar2009,16:18 | #3 |
|
Go4Expert Founder
|
![]() |
| 14Mar2009,16:45 | #4 |
|
Using JS can help
Like HTML Code:
if (navigator.appVersion.indexOf("Win")!=-1) OSName="Windows";
if (navigator.appVersion.indexOf("Mac")!=-1) OSName="MacOS";
if (navigator.appVersion.indexOf("X11")!=-1) OSName="UNIX";
if (navigator.appVersion.indexOf("Linux")!=-1) OSName="Linux";
|
|
Newbie Member
|
|
| 14Mar2009,17:15 | #5 |
|
Quote:
Originally Posted by shabbir Thanks for quick reply Actually I want location of hosts file for appending some IP in that Windows Vista = C:\WINDOWS\SYSTEM32\DRIVERS\ETC Windows XP = C:\WINDOWS\SYSTEM32\DRIVERS\ETC Windows 2K = C:\WINNT\SYSTEM32\DRIVERS\ETC Win 98/ME = C:\WINDOWS |
|
Go4Expert Founder
|
![]() |
| 14Mar2009,19:00 | #6 |
|
That cannot be done on client machine without installing some program.
|
|
Newbie Member
|
|
| 16Mar2009,08:42 | #7 |


