{"action":"created","issue":{"url":"https://api.github.com/repos/zeroc-ice/ice-demos/issues/16","repository_url":"https://api.github.com/repos/zeroc-ice/ice-demos","labels_url":"https://api.github.com/repos/zeroc-ice/ice-demos/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/zeroc-ice/ice-demos/issues/16/comments","events_url":"https://api.github.com/repos/zeroc-ice/ice-demos/issues/16/events","html_url":"https://github.com/zeroc-ice/ice-demos/issues/16","id":318211650,"node_id":"MDU6SXNzdWUzMTgyMTE2NTA=","number":16,"title":"Add IceDiscovery support to csharp/Ice/wpf demo","user":{"login":"bernardnormier","id":11429151,"node_id":"MDQ6VXNlcjExNDI5MTUx","avatar_url":"https://avatars3.githubusercontent.com/u/11429151?v=4","gravatar_id":"","url":"https://api.github.com/users/bernardnormier","html_url":"https://github.com/bernardnormier","followers_url":"https://api.github.com/users/bernardnormier/followers","following_url":"https://api.github.com/users/bernardnormier/following{/other_user}","gists_url":"https://api.github.com/users/bernardnormier/gists{/gist_id}","starred_url":"https://api.github.com/users/bernardnormier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bernardnormier/subscriptions","organizations_url":"https://api.github.com/users/bernardnormier/orgs","repos_url":"https://api.github.com/users/bernardnormier/repos","events_url":"https://api.github.com/users/bernardnormier/events{/privacy}","received_events_url":"https://api.github.com/users/bernardnormier/received_events","type":"User","site_admin":false},"labels":[{"id":914056246,"node_id":"MDU6TGFiZWw5MTQwNTYyNDY=","url":"https://api.github.com/repos/zeroc-ice/ice-demos/labels/csharp","name":"csharp","color":"9437ce","default":false},{"id":914112483,"node_id":"MDU6TGFiZWw5MTQxMTI0ODM=","url":"https://api.github.com/repos/zeroc-ice/ice-demos/labels/easy","name":"easy","color":"f8f9b1","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-26T21:58:12Z","updated_at":"2018-12-06T16:33:52Z","closed_at":"2018-09-25T19:09:38Z","author_association":"MEMBER","body":"It should support IceDiscovery like the other graphical \"hello\" demos."},"comment":{"url":"https://api.github.com/repos/zeroc-ice/ice-demos/issues/comments/444936682","html_url":"https://github.com/zeroc-ice/ice-demos/issues/16#issuecomment-444936682","issue_url":"https://api.github.com/repos/zeroc-ice/ice-demos/issues/16","id":444936682,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDkzNjY4Mg==","user":{"login":"bentoi","id":11288876,"node_id":"MDQ6VXNlcjExMjg4ODc2","avatar_url":"https://avatars0.githubusercontent.com/u/11288876?v=4","gravatar_id":"","url":"https://api.github.com/users/bentoi","html_url":"https://github.com/bentoi","followers_url":"https://api.github.com/users/bentoi/followers","following_url":"https://api.github.com/users/bentoi/following{/other_user}","gists_url":"https://api.github.com/users/bentoi/gists{/gist_id}","starred_url":"https://api.github.com/users/bentoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bentoi/subscriptions","organizations_url":"https://api.github.com/users/bentoi/orgs","repos_url":"https://api.github.com/users/bentoi/repos","events_url":"https://api.github.com/users/bentoi/events{/privacy}","received_events_url":"https://api.github.com/users/bentoi/received_events","type":"User","site_admin":false},"created_at":"2018-12-06T16:33:52Z","updated_at":"2018-12-06T16:33:52Z","author_association":"MEMBER","body":"You can obtain the Ice connection to the discovered server using the proxy `ice_getConnection` method. You can then obtain the connection information using the connection `getInfo` method. \r\n\r\nFor example, you can do something like the following in C# to get the remote IP address:\r\n```\r\nIce.ObjectPrx proxy = ...; // proxy resolved through IceDiscovery\r\nfor(Ice.ConnectionInfo p = proxy.getInfo(); p != null; p = p.underlying)\r\n{\r\n     if(p is Ice.IPConnectionInfo)\r\n    {\r\n        Ice.IPConnectionInfo ipinfo = p as Ice.IPConnectionInfo;\r\n        System.Console.WriteLine(\"host: \" + ipinfo.remoteAddress + \" port: \" + ipinfo.remotePort);\r\n        break;\r\n    }\r\n}\r\n```"}}
{"actor":{"display_login":"bentoi"}}