Like this? (based on thread
here[
^])
if(Request.UserAgent.IndexOf("Windows NT 5.1") > 0)
{
}
else if (Request.UserAgent.IndexOf("Windows NT 6.0") > 0)
{
}
else if (Request.UserAgent.IndexOf("Windows NT 6.1") > 0)
{
}
else if (Request.UserAgent.IndexOf("Windows NT 6.3") > 0)
{
}
Plus, I am curious why would you do that. Why should it matter which operating system are you using for a web application?