<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>KousakuinX</author_name>
  <author_url>https://blog.hatena.ne.jp/KousakuinX/</author_url>
  <blog_title>地上の洞窟</blog_title>
  <blog_url>https://under-overworld.hatenablog.jp/</blog_url>
  <categories>
    <anon>C#</anon>
  </categories>
  <description>エクスプローラー上でファイルを開き、アプリケーションを起動する場合。 既に起動しているアプリケーションにファイルを渡したい時、どうしたらよいか。 主に、以下の手順を組むことになるだろう。 多重起動の検出 元プロセスを探す 元プロセスへファイルパスを送る 元プロセスでファイルパスを受け取る これら各手順の方法をざっくり解説していこうと思う。 多重起動の検出 元プロセスを探す 元プロセスへファイルパスを送る 元プロセスでファイルパスを受け取る 多重起動の検出 using System.Threading; static void Main() { using (var mutex = new Mu…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Funder-overworld.hatenablog.jp%2Fentry%2F2025%2F08%2F13%2F223731&quot; title=&quot;【C#】多重起動の防止・元プロセスにファイルパスを渡す方法など - 地上の洞窟&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-08-13 22:37:31</published>
  <title>【C#】多重起動の防止・元プロセスにファイルパスを渡す方法など</title>
  <type>rich</type>
  <url>https://under-overworld.hatenablog.jp/entry/2025/08/13/223731</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
