{"id":652,"date":"2019-03-23T06:00:33","date_gmt":"2019-03-23T10:00:33","guid":{"rendered":"http:\/\/salzlechner.com\/dev\/?p=652"},"modified":"2019-08-10T11:59:11","modified_gmt":"2019-08-10T15:59:11","slug":"restarting-a-wpf-application","status":"publish","type":"post","link":"http:\/\/salzlechner.com\/dev\/2019\/03\/23\/restarting-a-wpf-application\/","title":{"rendered":"Restarting a WPF application"},"content":{"rendered":"<p>The following two lines will restart a running WPF application<\/p>\n<pre class=\"lang:c# decode:true\">\/*\n    restart WPF Application\n*\/\nSystem.Diagnostics.Process.Start(Application.ResourceAssembly.Location);\nApplication.Current.Shutdown();\n<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The following two lines will restart a running WPF application \/* restart WPF Application *\/ System.Diagnostics.Process.Start(Application.ResourceAssembly.Location); Application.Current.Shutdown(); &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":736,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","ngg_post_thumbnail":0,"footnotes":""},"categories":[41],"tags":[],"class_list":["post-652","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wpf"],"_links":{"self":[{"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/posts\/652","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/comments?post=652"}],"version-history":[{"count":3,"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/posts\/652\/revisions"}],"predecessor-version":[{"id":655,"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/posts\/652\/revisions\/655"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/media\/736"}],"wp:attachment":[{"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/media?parent=652"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/categories?post=652"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/salzlechner.com\/dev\/wp-json\/wp\/v2\/tags?post=652"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}