{"action":"created","issue":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-net/issues/730","repository_url":"https://api.github.com/repos/couchbase/couchbase-lite-net","labels_url":"https://api.github.com/repos/couchbase/couchbase-lite-net/issues/730/labels{/name}","comments_url":"https://api.github.com/repos/couchbase/couchbase-lite-net/issues/730/comments","events_url":"https://api.github.com/repos/couchbase/couchbase-lite-net/issues/730/events","html_url":"https://github.com/couchbase/couchbase-lite-net/issues/730","id":175081936,"number":730,"title":"NotImplementedException@Couchbase.Lite.Util.Platform.GetWindowsName () under Mono && Windows","user":{"login":"vmartos","id":10826413,"avatar_url":"https://avatars.githubusercontent.com/u/10826413?v=3","gravatar_id":"","url":"https://api.github.com/users/vmartos","html_url":"https://github.com/vmartos","followers_url":"https://api.github.com/users/vmartos/followers","following_url":"https://api.github.com/users/vmartos/following{/other_user}","gists_url":"https://api.github.com/users/vmartos/gists{/gist_id}","starred_url":"https://api.github.com/users/vmartos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmartos/subscriptions","organizations_url":"https://api.github.com/users/vmartos/orgs","repos_url":"https://api.github.com/users/vmartos/repos","events_url":"https://api.github.com/users/vmartos/events{/privacy}","received_events_url":"https://api.github.com/users/vmartos/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-05T14:23:47Z","updated_at":"2016-09-07T08:27:21Z","closed_at":"2016-09-07T04:20:31Z","body":"When running under Mono/Windows when trying to set Platform.Name it throws a System.NotImplementedException:\r\nhttps://github.com/couchbase/couchbase-lite-net/blob/master/src/Couchbase.Lite.Shared/Util/Platform.cs#L463\r\n\r\nBecause Mono doesn't implement the Get Method in System.Management.ManagementObjectSearcher:\r\nhttps://github.com/mono/mono/blob/ef407901f8fdd9ed8c377dbec8123b5afb932ebb/mcs/class/System.Management/System.Management/ManagementObjectSearcher.cs#L100\r\n\r\n\r\n> [Warn  12:08:09.364] Caught an exception - System.NotImplementedException: The method or operation is not implemented. (in `System.Management')\r\n>   at System.Management.ManagementObjectSearcher.Get () <0x4357600 + 0x0001f> in <filename unknown>:0 \r\n>   at (wrapper remoting-invoke-with-check) System.Management.ManagementObjectSearcher:Get ()\r\n>   at Couchbase.Lite.Util.Platform.GetWindowsName () <0x4357298 + 0x00047> in <filename unknown>:0 \r\n>   at Couchbase.Lite.Util.Platform..cctor () <0x4357228 + 0x00037> in <filename unknown>:0 \r\n> System.TypeInitializationException: The type initializer for 'Couchbase.Lite.Util.Platform' threw an exception. (in `Couchbase.Lite')\r\n>   at Couchbase.Lite.Manager..cctor () <0x4356eb0 + 0x0001b> in <filename unknown>:0 \r\n> System.TypeInitializationException: The type initializer for 'Couchbase.Lite.Manager' threw an exception. (in `VAS.DB')\r\n"},"comment":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-net/issues/comments/245211072","html_url":"https://github.com/couchbase/couchbase-lite-net/issues/730#issuecomment-245211072","issue_url":"https://api.github.com/repos/couchbase/couchbase-lite-net/issues/730","id":245211072,"user":{"login":"vmartos","id":10826413,"avatar_url":"https://avatars.githubusercontent.com/u/10826413?v=3","gravatar_id":"","url":"https://api.github.com/users/vmartos","html_url":"https://github.com/vmartos","followers_url":"https://api.github.com/users/vmartos/followers","following_url":"https://api.github.com/users/vmartos/following{/other_user}","gists_url":"https://api.github.com/users/vmartos/gists{/gist_id}","starred_url":"https://api.github.com/users/vmartos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmartos/subscriptions","organizations_url":"https://api.github.com/users/vmartos/orgs","repos_url":"https://api.github.com/users/vmartos/repos","events_url":"https://api.github.com/users/vmartos/events{/privacy}","received_events_url":"https://api.github.com/users/vmartos/received_events","type":"User","site_admin":false},"created_at":"2016-09-07T08:27:21Z","updated_at":"2016-09-07T08:27:21Z","body":"Thanks for the fix! Our fix was just a temporal, that's why we use Environment.Is64BitOperatingSystem. We will replace our fix with yours!\r\nThanks!"}}
{"actor":{"display_login":"vmartos"}}