{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/corefx/pulls/comments/203536074","pull_request_review_id":138446798,"id":203536074,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMzUzNjA3NA==","diff_hunk":"@@ -0,0 +1,72 @@\n+﻿// Licensed to the .NET Foundation under one or more agreements.\n+// The .NET Foundation licenses this file to you under the MIT license.\n+// See the LICENSE file in the project root for more information.\n+\n+using System.Runtime.InteropServices;\n+\n+namespace System.Security.Cryptography.X509Certificates\n+{\n+    internal static class X509Utils\n+    {\n+        internal const uint CERT_STORE_ENUM_ARCHIVED_FLAG = 0x00000200;\n+        internal const uint CERT_STORE_CREATE_NEW_FLAG = 0x00002000;\n+\n+        internal static SafeCertContextHandle GetCertContextSafeHandle(X509Certificate2 certificate)","path":"src/System.Windows.Extensions/src/System/Security/Cryptography/X509Certificates/X509Utils.cs","position":14,"original_position":14,"commit_id":"03ed331e48e68206543c1b2503ac61cced0b6ee7","original_commit_id":"03ed331e48e68206543c1b2503ac61cced0b6ee7","user":{"login":"bartonjs","id":10642668,"node_id":"MDQ6VXNlcjEwNjQyNjY4","avatar_url":"https://avatars3.githubusercontent.com/u/10642668?v=4","gravatar_id":"","url":"https://api.github.com/users/bartonjs","html_url":"https://github.com/bartonjs","followers_url":"https://api.github.com/users/bartonjs/followers","following_url":"https://api.github.com/users/bartonjs/following{/other_user}","gists_url":"https://api.github.com/users/bartonjs/gists{/gist_id}","starred_url":"https://api.github.com/users/bartonjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartonjs/subscriptions","organizations_url":"https://api.github.com/users/bartonjs/orgs","repos_url":"https://api.github.com/users/bartonjs/repos","events_url":"https://api.github.com/users/bartonjs/events{/privacy}","received_events_url":"https://api.github.com/users/bartonjs/received_events","type":"User","site_admin":false},"body":"DuplicateCertificateContext seems to be a much more reasonable name.","created_at":"2018-07-18T21:29:50Z","updated_at":"2018-07-18T21:29:54Z","html_url":"https://github.com/dotnet/corefx/pull/31111#discussion_r203536074","pull_request_url":"https://api.github.com/repos/dotnet/corefx/pulls/31111","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/comments/203536074"},"html":{"href":"https://github.com/dotnet/corefx/pull/31111#discussion_r203536074"},"pull_request":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/31111"}}},"pull_request":{"url":"https://api.github.com/repos/dotnet/corefx/pulls/31111","id":201798588,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxNzk4NTg4","html_url":"https://github.com/dotnet/corefx/pull/31111","diff_url":"https://github.com/dotnet/corefx/pull/31111.diff","patch_url":"https://github.com/dotnet/corefx/pull/31111.patch","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/31111","number":31111,"state":"open","locked":false,"title":"Porting X509Certificate2UI to .Net Core","user":{"login":"Anipik","id":10516582,"node_id":"MDQ6VXNlcjEwNTE2NTgy","avatar_url":"https://avatars1.githubusercontent.com/u/10516582?v=4","gravatar_id":"","url":"https://api.github.com/users/Anipik","html_url":"https://github.com/Anipik","followers_url":"https://api.github.com/users/Anipik/followers","following_url":"https://api.github.com/users/Anipik/following{/other_user}","gists_url":"https://api.github.com/users/Anipik/gists{/gist_id}","starred_url":"https://api.github.com/users/Anipik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anipik/subscriptions","organizations_url":"https://api.github.com/users/Anipik/orgs","repos_url":"https://api.github.com/users/Anipik/repos","events_url":"https://api.github.com/users/Anipik/events{/privacy}","received_events_url":"https://api.github.com/users/Anipik/received_events","type":"User","site_admin":false},"body":"Related to https://github.com/dotnet/corefx/issues/29960","created_at":"2018-07-17T01:04:41Z","updated_at":"2018-07-18T21:29:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"91357043144a414cb480f353661536b4ee075032","assignee":null,"assignees":[],"requested_reviewers":[{"login":"danmosemsft","id":6385855,"node_id":"MDQ6VXNlcjYzODU4NTU=","avatar_url":"https://avatars3.githubusercontent.com/u/6385855?v=4","gravatar_id":"","url":"https://api.github.com/users/danmosemsft","html_url":"https://github.com/danmosemsft","followers_url":"https://api.github.com/users/danmosemsft/followers","following_url":"https://api.github.com/users/danmosemsft/following{/other_user}","gists_url":"https://api.github.com/users/danmosemsft/gists{/gist_id}","starred_url":"https://api.github.com/users/danmosemsft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danmosemsft/subscriptions","organizations_url":"https://api.github.com/users/danmosemsft/orgs","repos_url":"https://api.github.com/users/danmosemsft/repos","events_url":"https://api.github.com/users/danmosemsft/events{/privacy}","received_events_url":"https://api.github.com/users/danmosemsft/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dotnet/corefx/pulls/31111/commits","review_comments_url":"https://api.github.com/repos/dotnet/corefx/pulls/31111/comments","review_comment_url":"https://api.github.com/repos/dotnet/corefx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/31111/comments","statuses_url":"https://api.github.com/repos/dotnet/corefx/statuses/03ed331e48e68206543c1b2503ac61cced0b6ee7","head":{"label":"Anipik:crypto","ref":"crypto","sha":"03ed331e48e68206543c1b2503ac61cced0b6ee7","user":{"login":"Anipik","id":10516582,"node_id":"MDQ6VXNlcjEwNTE2NTgy","avatar_url":"https://avatars1.githubusercontent.com/u/10516582?v=4","gravatar_id":"","url":"https://api.github.com/users/Anipik","html_url":"https://github.com/Anipik","followers_url":"https://api.github.com/users/Anipik/followers","following_url":"https://api.github.com/users/Anipik/following{/other_user}","gists_url":"https://api.github.com/users/Anipik/gists{/gist_id}","starred_url":"https://api.github.com/users/Anipik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anipik/subscriptions","organizations_url":"https://api.github.com/users/Anipik/orgs","repos_url":"https://api.github.com/users/Anipik/repos","events_url":"https://api.github.com/users/Anipik/events{/privacy}","received_events_url":"https://api.github.com/users/Anipik/received_events","type":"User","site_admin":false},"repo":{"id":104249984,"node_id":"MDEwOlJlcG9zaXRvcnkxMDQyNDk5ODQ=","name":"corefx","full_name":"Anipik/corefx","owner":{"login":"Anipik","id":10516582,"node_id":"MDQ6VXNlcjEwNTE2NTgy","avatar_url":"https://avatars1.githubusercontent.com/u/10516582?v=4","gravatar_id":"","url":"https://api.github.com/users/Anipik","html_url":"https://github.com/Anipik","followers_url":"https://api.github.com/users/Anipik/followers","following_url":"https://api.github.com/users/Anipik/following{/other_user}","gists_url":"https://api.github.com/users/Anipik/gists{/gist_id}","starred_url":"https://api.github.com/users/Anipik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anipik/subscriptions","organizations_url":"https://api.github.com/users/Anipik/orgs","repos_url":"https://api.github.com/users/Anipik/repos","events_url":"https://api.github.com/users/Anipik/events{/privacy}","received_events_url":"https://api.github.com/users/Anipik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Anipik/corefx","description":"This repo contains the .NET Core foundational libraries, called CoreFX. It includes classes for collections, file systems, console, XML, async and many others. We welcome contributions.","fork":true,"url":"https://api.github.com/repos/Anipik/corefx","forks_url":"https://api.github.com/repos/Anipik/corefx/forks","keys_url":"https://api.github.com/repos/Anipik/corefx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Anipik/corefx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Anipik/corefx/teams","hooks_url":"https://api.github.com/repos/Anipik/corefx/hooks","issue_events_url":"https://api.github.com/repos/Anipik/corefx/issues/events{/number}","events_url":"https://api.github.com/repos/Anipik/corefx/events","assignees_url":"https://api.github.com/repos/Anipik/corefx/assignees{/user}","branches_url":"https://api.github.com/repos/Anipik/corefx/branches{/branch}","tags_url":"https://api.github.com/repos/Anipik/corefx/tags","blobs_url":"https://api.github.com/repos/Anipik/corefx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Anipik/corefx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Anipik/corefx/git/refs{/sha}","trees_url":"https://api.github.com/repos/Anipik/corefx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Anipik/corefx/statuses/{sha}","languages_url":"https://api.github.com/repos/Anipik/corefx/languages","stargazers_url":"https://api.github.com/repos/Anipik/corefx/stargazers","contributors_url":"https://api.github.com/repos/Anipik/corefx/contributors","subscribers_url":"https://api.github.com/repos/Anipik/corefx/subscribers","subscription_url":"https://api.github.com/repos/Anipik/corefx/subscription","commits_url":"https://api.github.com/repos/Anipik/corefx/commits{/sha}","git_commits_url":"https://api.github.com/repos/Anipik/corefx/git/commits{/sha}","comments_url":"https://api.github.com/repos/Anipik/corefx/comments{/number}","issue_comment_url":"https://api.github.com/repos/Anipik/corefx/issues/comments{/number}","contents_url":"https://api.github.com/repos/Anipik/corefx/contents/{+path}","compare_url":"https://api.github.com/repos/Anipik/corefx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Anipik/corefx/merges","archive_url":"https://api.github.com/repos/Anipik/corefx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Anipik/corefx/downloads","issues_url":"https://api.github.com/repos/Anipik/corefx/issues{/number}","pulls_url":"https://api.github.com/repos/Anipik/corefx/pulls{/number}","milestones_url":"https://api.github.com/repos/Anipik/corefx/milestones{/number}","notifications_url":"https://api.github.com/repos/Anipik/corefx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Anipik/corefx/labels{/name}","releases_url":"https://api.github.com/repos/Anipik/corefx/releases{/id}","deployments_url":"https://api.github.com/repos/Anipik/corefx/deployments","created_at":"2017-09-20T17:59:22Z","updated_at":"2018-07-18T20:39:23Z","pushed_at":"2018-07-18T21:25:29Z","git_url":"git://github.com/Anipik/corefx.git","ssh_url":"git@github.com:Anipik/corefx.git","clone_url":"https://github.com/Anipik/corefx.git","svn_url":"https://github.com/Anipik/corefx","homepage":"https://github.com/dotnet/core","size":182894,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dotnet:master","ref":"master","sha":"84d044411b400044f75ee90c744a7f9bd6e4fe1d","user":{"login":"dotnet","id":9141961,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkxNDE5NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/9141961?v=4","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"repo":{"id":26295345,"node_id":"MDEwOlJlcG9zaXRvcnkyNjI5NTM0NQ==","name":"corefx","full_name":"dotnet/corefx","owner":{"login":"dotnet","id":9141961,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkxNDE5NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/9141961?v=4","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dotnet/corefx","description":"This repo contains the .NET Core foundational libraries, called CoreFX. It includes classes for collections, file systems, console, XML, async and many others. We welcome contributions.","fork":false,"url":"https://api.github.com/repos/dotnet/corefx","forks_url":"https://api.github.com/repos/dotnet/corefx/forks","keys_url":"https://api.github.com/repos/dotnet/corefx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet/corefx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet/corefx/teams","hooks_url":"https://api.github.com/repos/dotnet/corefx/hooks","issue_events_url":"https://api.github.com/repos/dotnet/corefx/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet/corefx/events","assignees_url":"https://api.github.com/repos/dotnet/corefx/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet/corefx/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet/corefx/tags","blobs_url":"https://api.github.com/repos/dotnet/corefx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet/corefx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet/corefx/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet/corefx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet/corefx/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet/corefx/languages","stargazers_url":"https://api.github.com/repos/dotnet/corefx/stargazers","contributors_url":"https://api.github.com/repos/dotnet/corefx/contributors","subscribers_url":"https://api.github.com/repos/dotnet/corefx/subscribers","subscription_url":"https://api.github.com/repos/dotnet/corefx/subscription","commits_url":"https://api.github.com/repos/dotnet/corefx/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet/corefx/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet/corefx/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet/corefx/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet/corefx/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet/corefx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet/corefx/merges","archive_url":"https://api.github.com/repos/dotnet/corefx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet/corefx/downloads","issues_url":"https://api.github.com/repos/dotnet/corefx/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet/corefx/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet/corefx/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet/corefx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet/corefx/labels{/name}","releases_url":"https://api.github.com/repos/dotnet/corefx/releases{/id}","deployments_url":"https://api.github.com/repos/dotnet/corefx/deployments","created_at":"2014-11-06T23:42:48Z","updated_at":"2018-07-18T19:17:17Z","pushed_at":"2018-07-18T21:26:28Z","git_url":"git://github.com/dotnet/corefx.git","ssh_url":"git@github.com:dotnet/corefx.git","clone_url":"https://github.com/dotnet/corefx.git","svn_url":"https://github.com/dotnet/corefx","homepage":"https://github.com/dotnet/core","size":184147,"stargazers_count":14403,"watchers_count":14403,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4170,"mirror_url":null,"archived":false,"open_issues_count":2424,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":4170,"open_issues":2424,"watchers":14403,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/31111"},"html":{"href":"https://github.com/dotnet/corefx/pull/31111"},"issue":{"href":"https://api.github.com/repos/dotnet/corefx/issues/31111"},"comments":{"href":"https://api.github.com/repos/dotnet/corefx/issues/31111/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/31111/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/31111/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/corefx/statuses/03ed331e48e68206543c1b2503ac61cced0b6ee7"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"bartonjs"}}