{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corefx/issues/9675","repository_url":"https://api.github.com/repos/dotnet/corefx","labels_url":"https://api.github.com/repos/dotnet/corefx/issues/9675/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/9675/comments","events_url":"https://api.github.com/repos/dotnet/corefx/issues/9675/events","html_url":"https://github.com/dotnet/corefx/issues/9675","id":162257674,"number":9675,"title":"NetworkInterface.GetAllNetworkInterfaces throws on UWP","user":{"login":"onovotny","id":1427284,"avatar_url":"https://avatars.githubusercontent.com/u/1427284?v=3","gravatar_id":"","url":"https://api.github.com/users/onovotny","html_url":"https://github.com/onovotny","followers_url":"https://api.github.com/users/onovotny/followers","following_url":"https://api.github.com/users/onovotny/following{/other_user}","gists_url":"https://api.github.com/users/onovotny/gists{/gist_id}","starred_url":"https://api.github.com/users/onovotny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onovotny/subscriptions","organizations_url":"https://api.github.com/users/onovotny/orgs","repos_url":"https://api.github.com/users/onovotny/repos","events_url":"https://api.github.com/users/onovotny/events{/privacy}","received_events_url":"https://api.github.com/users/onovotny/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/corefx/labels/os-windows-uwp","name":"os-windows-uwp","color":"fef2c0"},{"url":"https://api.github.com/repos/dotnet/corefx/labels/release%20notes","name":"release notes","color":"1d76db"},{"url":"https://api.github.com/repos/dotnet/corefx/labels/System.Net","name":"System.Net","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"davidsh","id":7684835,"avatar_url":"https://avatars.githubusercontent.com/u/7684835?v=3","gravatar_id":"","url":"https://api.github.com/users/davidsh","html_url":"https://github.com/davidsh","followers_url":"https://api.github.com/users/davidsh/followers","following_url":"https://api.github.com/users/davidsh/following{/other_user}","gists_url":"https://api.github.com/users/davidsh/gists{/gist_id}","starred_url":"https://api.github.com/users/davidsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidsh/subscriptions","organizations_url":"https://api.github.com/users/davidsh/orgs","repos_url":"https://api.github.com/users/davidsh/repos","events_url":"https://api.github.com/users/davidsh/events{/privacy}","received_events_url":"https://api.github.com/users/davidsh/received_events","type":"User","site_admin":false},"assignees":[{"login":"davidsh","id":7684835,"avatar_url":"https://avatars.githubusercontent.com/u/7684835?v=3","gravatar_id":"","url":"https://api.github.com/users/davidsh","html_url":"https://github.com/davidsh","followers_url":"https://api.github.com/users/davidsh/followers","following_url":"https://api.github.com/users/davidsh/following{/other_user}","gists_url":"https://api.github.com/users/davidsh/gists{/gist_id}","starred_url":"https://api.github.com/users/davidsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidsh/subscriptions","organizations_url":"https://api.github.com/users/davidsh/orgs","repos_url":"https://api.github.com/users/davidsh/repos","events_url":"https://api.github.com/users/davidsh/events{/privacy}","received_events_url":"https://api.github.com/users/davidsh/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/dotnet/corefx/milestones/4","html_url":"https://github.com/dotnet/corefx/milestones/1.2.0","labels_url":"https://api.github.com/repos/dotnet/corefx/milestones/4/labels","id":1248719,"number":4,"title":"1.2.0","description":".NET Core 1.2 Placeholder.  https://github.com/dotnet/core/blob/master/roadmap.md","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":568,"closed_issues":963,"state":"open","created_at":"2015-08-10T18:04:00Z","updated_at":"2016-08-09T16:41:30Z","due_on":"2017-04-30T07:00:00Z","closed_at":null},"comments":5,"created_at":"2016-06-25T02:01:23Z","updated_at":"2016-08-10T10:22:56Z","closed_at":null,"body":"I’m using the “final” .NET Core bits off of the MyGet feed and ran into an issue trying to use System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces(). The method throws on UWP with a NotImplementedException.\r\n\r\n```\r\n\tSystem.Net.NetworkInformation.dll!System.Net.NetworkInformation.NetNativeNetworkInterface.GetNetworkInterfaces()\tUnknown\r\n \tSystem.Net.NetworkInformation.dll!System.Net.NetworkInformation.NetworkInterfacePal.GetAllNetworkInterfaces()\tUnknown\r\n \tSystem.Net.NetworkInformation.dll!System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces()\tUnknown\r\n>\tZeroconf.dll!Zeroconf.NetworkInterface.NetworkRequestAsync(byte[] requestBytes, System.TimeSpan scanTime, int retries, int retryDelayMilliseconds, System.Action<string, byte[]> onResponse, System.Threading.CancellationToken cancellationToken) Line 28\tC#\r\n \tZeroconf.dll!Zeroconf.ZeroconfResolver.ResolveInternal(System.Collections.Generic.IEnumerable<string> protocols, byte[] requestBytes, System.TimeSpan scanTime, int retries, int retryDelayMilliseconds, System.Action<string, Heijden.DNS.Response> callback, System.Threading.CancellationToken cancellationToken) Line 75\tC#\r\n \tZeroconf.dll!Zeroconf.ZeroconfResolver.BrowseDomainsAsync(System.TimeSpan scanTime, int retries, int retryDelayMilliseconds, System.Action<string, string> callback, System.Threading.CancellationToken cancellationToken) Line 113\tC#\r\n \tZeroconfTest.UWP.exe!ZeroconfTest.UWP.MainPage.ResolveClick(object sender, Windows.UI.Xaml.RoutedEventArgs e) Line 25\tC#\r\n```\r\n\r\nWhy isn’t this working on UWP? The library has explicit support for netcore50 in the 4.1.0 nuget package. I would not expect arbitrary methods to simply not work. It sort of undermines trust that WYSIWYG when it comes to available surface area.\r\n"},"comment":{"url":"https://api.github.com/repos/dotnet/corefx/issues/comments/238826687","html_url":"https://github.com/dotnet/corefx/issues/9675#issuecomment-238826687","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/9675","id":238826687,"user":{"login":"kaepora","id":9953,"avatar_url":"https://avatars.githubusercontent.com/u/9953?v=3","gravatar_id":"","url":"https://api.github.com/users/kaepora","html_url":"https://github.com/kaepora","followers_url":"https://api.github.com/users/kaepora/followers","following_url":"https://api.github.com/users/kaepora/following{/other_user}","gists_url":"https://api.github.com/users/kaepora/gists{/gist_id}","starred_url":"https://api.github.com/users/kaepora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaepora/subscriptions","organizations_url":"https://api.github.com/users/kaepora/orgs","repos_url":"https://api.github.com/users/kaepora/repos","events_url":"https://api.github.com/users/kaepora/events{/privacy}","received_events_url":"https://api.github.com/users/kaepora/received_events","type":"User","site_admin":false},"created_at":"2016-08-10T10:22:56Z","updated_at":"2016-08-10T10:22:56Z","body":"> Those particular methods are unimplemented right now. We plan to add the rest of the support later this year in an update to the System.Net.NetworkInformation package.\r\n\r\n@davidsh Any ETA on this? This is particularly confusing since the official [.NET Core documentation](https://docs.microsoft.com/en-us/dotnet/core/api/system.net.networkinformation.networkinterface#System_Net_NetworkInformation_NetworkInterface) lists these methods as implemented and documented. Frankly, I don't think they should be even listed there until they actually are in the framework..."}}
{"actor":{"display_login":"kaepora"}}