{"id":1106,"date":"2005-08-08T17:04:00","date_gmt":"2005-08-08T22:04:00","guid":{"rendered":"http:\/\/blogs.devhorizon.com\/reza\/?p=1106"},"modified":"2005-08-08T17:04:00","modified_gmt":"2005-08-08T22:04:00","slug":"where-is-aspnet-setregexe-source-code","status":"publish","type":"post","link":"https:\/\/blogs.devhorizon.com\/reza\/2005\/08\/08\/where-is-aspnet-setregexe-source-code\/","title":{"rendered":"Where is Aspnet_setreg.exe source code?"},"content":{"rendered":"<p><P>Various places (including <A href=\"http:\/\/msdn.microsoft.com\/library\/default.asp?url=\/library\/en-us\/cpgenref\/html\/gngrfIdentitySection.asp\">http:\/\/msdn.microsoft.com\/library\/default.asp?url=\/library\/en-us\/cpgenref\/html\/gngrfIdentitySection.asp<\/A>), say:<BR>You can create the encrypted credentials and store them in the registry with the ASP.NET Set Registry console application (Aspnet_setreg.exe), which uses <A href=\"http:\/\/msdn.microsoft.com\/library\/default.asp?url=\/library\/en-us\/seccrypto\/security\/cryptprotectdata.asp\">CryptProtectData <\/A>to accomplish the encryption. To download Aspnet_setreg.exe, along with the Visual C++ source code and documentation, visit the Web site <A href=\"http:\/\/www.asp.net\">www.asp.net<\/A> and search for &#8220;aspnet_setreg&#8221;.I have been unable to locate the source code for this program. The best I could find on <A href=\"http:\/\/www.asp.net\">www.asp.net<\/A> was a forum thread by someone asking where the source code is, and none having an answer.)<BR>So, where is the source code?! I am looking to duplicate its functionality in my program.<BR><\/P><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Various places (including http:\/\/msdn.microsoft.com\/library\/default.asp?url=\/library\/en-us\/cpgenref\/html\/gngrfIdentitySection.asp), say:You can create the encrypted credentials and store them in the registry with the ASP.NET Set Registry console application (Aspnet_setreg.exe), which uses CryptProtectData to accomplish the encryption. To download Aspnet_setreg.exe, along with the Visual C++ source code and documentation, visit the Web site www.asp.net and search for &#8220;aspnet_setreg&#8221;.I have been unable [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-1106","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/blogs.devhorizon.com\/reza\/wp-json\/wp\/v2\/posts\/1106","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.devhorizon.com\/reza\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.devhorizon.com\/reza\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.devhorizon.com\/reza\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.devhorizon.com\/reza\/wp-json\/wp\/v2\/comments?post=1106"}],"version-history":[{"count":0,"href":"https:\/\/blogs.devhorizon.com\/reza\/wp-json\/wp\/v2\/posts\/1106\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.devhorizon.com\/reza\/wp-json\/wp\/v2\/media?parent=1106"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.devhorizon.com\/reza\/wp-json\/wp\/v2\/categories?post=1106"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.devhorizon.com\/reza\/wp-json\/wp\/v2\/tags?post=1106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}