<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Takachan</author_name>
  <author_url>https://blog.hatena.ne.jp/Takachan/</author_url>
  <blog_title>PG日誌</blog_title>
  <blog_url>https://takap-tech.com/</blog_url>
  <categories>
    <anon>.NET</anon>
    <anon>C#</anon>
  </categories>
  <description>はじめに .NET でパイプを使用したプロセス間通信は NamedPipeServerStream を使用します。また、Windows 上で権限レベルが異なるユーザー間（例えばサービス - 一般ユーザー間）でプロセス間通信をする場合は、追加パッケージ System.IO.Pipes.AccessControl を導入し、SetAccessControl を以下のように指定します。 例えば以下のように実装すると、すべてのユーザーからアクセス可能なパイプが作成できます。 // すべてのユーザーからアクセス可能とする PipeSecurity pipeSecurity = new PipeSecur…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakap-tech.com%2Fentry%2F2024%2F11%2F04%2F234732&quot; title=&quot;【C#】.NET8のNamedPipeServerStream.SetAccessControlが動作しない問題の回避方法 - PG日誌&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>2024-11-04 23:47:32</published>
  <title>【C#】.NET8のNamedPipeServerStream.SetAccessControlが動作しない問題の回避方法</title>
  <type>rich</type>
  <url>https://takap-tech.com/entry/2024/11/04/234732</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
