{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corefx/issues/4306","labels_url":"https://api.github.com/repos/dotnet/corefx/issues/4306/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/4306/comments","events_url":"https://api.github.com/repos/dotnet/corefx/issues/4306/events","html_url":"https://github.com/dotnet/corefx/issues/4306","id":114882426,"number":4306,"title":"Add Environment.MachineName to dnxcore50","user":{"login":"spboyer","id":7681382,"avatar_url":"https://avatars.githubusercontent.com/u/7681382?v=3","gravatar_id":"","url":"https://api.github.com/users/spboyer","html_url":"https://github.com/spboyer","followers_url":"https://api.github.com/users/spboyer/followers","following_url":"https://api.github.com/users/spboyer/following{/other_user}","gists_url":"https://api.github.com/users/spboyer/gists{/gist_id}","starred_url":"https://api.github.com/users/spboyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spboyer/subscriptions","organizations_url":"https://api.github.com/users/spboyer/orgs","repos_url":"https://api.github.com/users/spboyer/repos","events_url":"https://api.github.com/users/spboyer/events{/privacy}","received_events_url":"https://api.github.com/users/spboyer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/corefx/labels/api-needs-work","name":"api-needs-work","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"Priya91","id":7853870,"avatar_url":"https://avatars.githubusercontent.com/u/7853870?v=3","gravatar_id":"","url":"https://api.github.com/users/Priya91","html_url":"https://github.com/Priya91","followers_url":"https://api.github.com/users/Priya91/followers","following_url":"https://api.github.com/users/Priya91/following{/other_user}","gists_url":"https://api.github.com/users/Priya91/gists{/gist_id}","starred_url":"https://api.github.com/users/Priya91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Priya91/subscriptions","organizations_url":"https://api.github.com/users/Priya91/orgs","repos_url":"https://api.github.com/users/Priya91/repos","events_url":"https://api.github.com/users/Priya91/events{/privacy}","received_events_url":"https://api.github.com/users/Priya91/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/dotnet/corefx/milestones/6","html_url":"https://github.com/dotnet/corefx/milestones/1.0.0-rc2","labels_url":"https://api.github.com/repos/dotnet/corefx/milestones/6/labels","id":1365455,"number":6,"title":"1.0.0-rc2","description":"","creator":{"login":"joshfree","id":1302850,"avatar_url":"https://avatars.githubusercontent.com/u/1302850?v=3","gravatar_id":"","url":"https://api.github.com/users/joshfree","html_url":"https://github.com/joshfree","followers_url":"https://api.github.com/users/joshfree/followers","following_url":"https://api.github.com/users/joshfree/following{/other_user}","gists_url":"https://api.github.com/users/joshfree/gists{/gist_id}","starred_url":"https://api.github.com/users/joshfree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshfree/subscriptions","organizations_url":"https://api.github.com/users/joshfree/orgs","repos_url":"https://api.github.com/users/joshfree/repos","events_url":"https://api.github.com/users/joshfree/events{/privacy}","received_events_url":"https://api.github.com/users/joshfree/received_events","type":"User","site_admin":false},"open_issues":134,"closed_issues":300,"state":"open","created_at":"2015-10-20T04:29:15Z","updated_at":"2016-01-15T18:14:38Z","due_on":"2016-02-02T08:00:00Z","closed_at":null},"comments":29,"created_at":"2015-11-03T18:42:45Z","updated_at":"2016-01-15T18:21:08Z","closed_at":null,"body":"Need `Environment.MachineName`, `Environment.OSVersion` etc available in dnxcore50"},"comment":{"url":"https://api.github.com/repos/dotnet/corefx/issues/comments/172042216","html_url":"https://github.com/dotnet/corefx/issues/4306#issuecomment-172042216","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/4306","id":172042216,"user":{"login":"akoeplinger","id":1376924,"avatar_url":"https://avatars.githubusercontent.com/u/1376924?v=3","gravatar_id":"","url":"https://api.github.com/users/akoeplinger","html_url":"https://github.com/akoeplinger","followers_url":"https://api.github.com/users/akoeplinger/followers","following_url":"https://api.github.com/users/akoeplinger/following{/other_user}","gists_url":"https://api.github.com/users/akoeplinger/gists{/gist_id}","starred_url":"https://api.github.com/users/akoeplinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akoeplinger/subscriptions","organizations_url":"https://api.github.com/users/akoeplinger/orgs","repos_url":"https://api.github.com/users/akoeplinger/repos","events_url":"https://api.github.com/users/akoeplinger/events{/privacy}","received_events_url":"https://api.github.com/users/akoeplinger/received_events","type":"User","site_admin":false},"created_at":"2016-01-15T18:21:08Z","updated_at":"2016-01-15T18:21:08Z","body":"@khellang that looks like a left-over from very long ago (I'll see if we can purge it).\r\n\r\nIf you look into [Environment.cs#L193](https://github.com/mono/mono/blob/61c070c63fe56830beca907cb59bc3743156510f/mcs/class/corlib/System/Environment.cs#L193) you see that MachineName is an internall call into the runtime which ends up in [icall.c#L5817](https://github.com/mono/mono/blob/042146997ec71b6a5776525ee3ac232156082128/mono/metadata/icall.c#L5817) and calling `gethostname()` there."}}