Determine OS via Silverlight
How do you deter开发者_StackOverflow中文版mine what OS is running a Silverlight OOB application? Thanks!
You can use Environment.OSVersion to get an OperatingSystem reference.
Once you have that, look at the Platform property, which returns a PlatformID Enumeration.
精彩评论