title: C# MemoryMappedFile, how to set rights to communicate betweend processes?
body: <p>I use memorymappedfile and it works when I communicate between 2 processes.
  However, I set up a windows service that runs with the LOCAL SYSTEM account and I would like to communicate with processes that runs in the current domain account logged in.</p>
  
  <p>I found accessrule and tried : </p>
  
  <pre><code>security.AddAccessRule(new AccessRule&lt;MemoryMappedFileRights&gt;(string.Concat(Environment.MachineName, "\\Administrator"), MemoryMappedFileRights.FullControl, AccessControlType.Allow));
  </code></pre>
  
  <p>and also : </p>
  
  <pre><code>security.AddAccessRule(new AccessRule&lt;MemoryMappedFileRights&gt;("Everyone"), MemoryMappedFileRights.FullControl, AccessControlType.Allow));
  </code></pre>
  
  <p>But did not work, how can I grant FULL ACCESS TO EVERYONE AND/OR ANONYMOUS LOGON whatever?</p>