{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corefxlab/issues/108","labels_url":"https://api.github.com/repos/dotnet/corefxlab/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefxlab/issues/108/comments","events_url":"https://api.github.com/repos/dotnet/corefxlab/issues/108/events","html_url":"https://github.com/dotnet/corefxlab/pull/108","id":90566786,"number":108,"title":"Added OS detection pending CoreFX implementing Diagnostics.Environment","user":{"login":"ryaneliseislalom","id":4030432,"avatar_url":"https://avatars.githubusercontent.com/u/4030432?v=3","gravatar_id":"","url":"https://api.github.com/users/ryaneliseislalom","html_url":"https://github.com/ryaneliseislalom","followers_url":"https://api.github.com/users/ryaneliseislalom/followers","following_url":"https://api.github.com/users/ryaneliseislalom/following{/other_user}","gists_url":"https://api.github.com/users/ryaneliseislalom/gists{/gist_id}","starred_url":"https://api.github.com/users/ryaneliseislalom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryaneliseislalom/subscriptions","organizations_url":"https://api.github.com/users/ryaneliseislalom/orgs","repos_url":"https://api.github.com/users/ryaneliseislalom/repos","events_url":"https://api.github.com/users/ryaneliseislalom/events{/privacy}","received_events_url":"https://api.github.com/users/ryaneliseislalom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-24T05:09:33Z","updated_at":"2015-08-05T20:39:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dotnet/corefxlab/pulls/108","html_url":"https://github.com/dotnet/corefxlab/pull/108","diff_url":"https://github.com/dotnet/corefxlab/pull/108.diff","patch_url":"https://github.com/dotnet/corefxlab/pull/108.patch"},"body":"Updated corefxlab/demos/CoreClrConsoleApplications/HelloWorld/HelloWorld.cs to include a function for OS detection while still allowing args[0] to be used for overriding and showing various OS logos. No break to existing behavior.\r\n\r\nAlso note, that proper OS detection would use Diagnostics.Environment, which is not yet implemented in CoreFX. This has been noted in the detection method comments."},"comment":{"url":"https://api.github.com/repos/dotnet/corefxlab/issues/comments/128141441","html_url":"https://github.com/dotnet/corefxlab/pull/108#issuecomment-128141441","issue_url":"https://api.github.com/repos/dotnet/corefxlab/issues/108","id":128141441,"user":{"login":"KrzysztofCwalina","id":9724236,"avatar_url":"https://avatars.githubusercontent.com/u/9724236?v=3","gravatar_id":"","url":"https://api.github.com/users/KrzysztofCwalina","html_url":"https://github.com/KrzysztofCwalina","followers_url":"https://api.github.com/users/KrzysztofCwalina/followers","following_url":"https://api.github.com/users/KrzysztofCwalina/following{/other_user}","gists_url":"https://api.github.com/users/KrzysztofCwalina/gists{/gist_id}","starred_url":"https://api.github.com/users/KrzysztofCwalina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KrzysztofCwalina/subscriptions","organizations_url":"https://api.github.com/users/KrzysztofCwalina/orgs","repos_url":"https://api.github.com/users/KrzysztofCwalina/repos","events_url":"https://api.github.com/users/KrzysztofCwalina/events{/privacy}","received_events_url":"https://api.github.com/users/KrzysztofCwalina/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T20:39:20Z","updated_at":"2015-08-05T20:39:20Z","body":"@ryaneliseislalom, sorry for a long delay. I was on vacation. Please use https://github.com/dotnet/corefx/tree/master/src/System.Runtime.InteropServices.RuntimeInformation\r\n"}}