{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corefx/issues/4741","labels_url":"https://api.github.com/repos/dotnet/corefx/issues/4741/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/4741/comments","events_url":"https://api.github.com/repos/dotnet/corefx/issues/4741/events","html_url":"https://github.com/dotnet/corefx/issues/4741","id":119613033,"number":4741,"title":"Add back Environment.OSVersion","user":{"login":"stephentoub","id":2642209,"avatar_url":"https://avatars.githubusercontent.com/u/2642209?v=3","gravatar_id":"","url":"https://api.github.com/users/stephentoub","html_url":"https://github.com/stephentoub","followers_url":"https://api.github.com/users/stephentoub/followers","following_url":"https://api.github.com/users/stephentoub/following{/other_user}","gists_url":"https://api.github.com/users/stephentoub/gists{/gist_id}","starred_url":"https://api.github.com/users/stephentoub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephentoub/subscriptions","organizations_url":"https://api.github.com/users/stephentoub/orgs","repos_url":"https://api.github.com/users/stephentoub/repos","events_url":"https://api.github.com/users/stephentoub/events{/privacy}","received_events_url":"https://api.github.com/users/stephentoub/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":23,"created_at":"2015-12-01T00:26:31Z","updated_at":"2015-12-01T18:50:59Z","closed_at":null,"body":"Whatever the current Windows-related philosophy is about version numbers, the non-Windows world does use version numbers as a way of indicating when features become available, version information is consumable via functions like uname, etc.  \r\n\r\nI've heard concerns about our not exposing it because we're concerned about developers misusing it, but developers often need this information and, if we don't expose it, developers will end up finding other ways to get at it, parsing things that shouldn't be parsed, doing their own P/Invokes in a non-portable fashion, and so on, resulting in a worse situation than if we'd just made it easy in the first place.\r\n\r\nWe should add Environment.OSVersion back to the System.Runtime.Extensions contract so that folks can rely on it."},"comment":{"url":"https://api.github.com/repos/dotnet/corefx/issues/comments/161060737","html_url":"https://github.com/dotnet/corefx/issues/4741#issuecomment-161060737","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/4741","id":161060737,"user":{"login":"davkean","id":1103906,"avatar_url":"https://avatars.githubusercontent.com/u/1103906?v=3","gravatar_id":"","url":"https://api.github.com/users/davkean","html_url":"https://github.com/davkean","followers_url":"https://api.github.com/users/davkean/followers","following_url":"https://api.github.com/users/davkean/following{/other_user}","gists_url":"https://api.github.com/users/davkean/gists{/gist_id}","starred_url":"https://api.github.com/users/davkean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davkean/subscriptions","organizations_url":"https://api.github.com/users/davkean/orgs","repos_url":"https://api.github.com/users/davkean/repos","events_url":"https://api.github.com/users/davkean/events{/privacy}","received_events_url":"https://api.github.com/users/davkean/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T18:50:59Z","updated_at":"2015-12-01T18:50:59Z","body":"@davidfowl The app needs to do that, that doesn't help the framework workaround \"bugs\" in OS versions or light-up features on higher level OSes.\r\n\r\nThe link you pointed to has nothing to do with a manifest - they are calling RtlGetVersion, which I've started an internal thread to figure if this is a viable replacement."}}