Search Unity

How to implement a dll-free editor plugin supports inter-process functionality?

Discussion in 'Formats & External Tools' started by mensaoliang, Feb 22, 2019.

  1. mensaoliang

    mensaoliang

    Joined:
    Jul 10, 2017
    Posts:
    9
    Hi, I am developing a general desktop software for artists, so I need to deal with inter process communication between many applications such as Unity, Photoshop, Maya and so on. The IPC mechanism I used in my application is based on file mapping. However, I found System.IO.MemoryMappedFiles is only available for .Net 4.x, while many Unity projects are using .Net 3.5. I am not very familiar with IPC methods in c#, so is there any way to implement create file mapping function in both .Net 3.5 and 4.x except import extra dll? I want to make that plugin as lit as possible and never include to builds.
     
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847