Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/310.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C#我对Ubuntu中的MemoryMappedFile有问题_C#_Linux_Ubuntu_Shared Memory_Memory Mapped Files - Fatal编程技术网

C#我对Ubuntu中的MemoryMappedFile有问题

C#我对Ubuntu中的MemoryMappedFile有问题,c#,linux,ubuntu,shared-memory,memory-mapped-files,C#,Linux,Ubuntu,Shared Memory,Memory Mapped Files,我想在RAM中创建的一个特殊区域中写一些东西,而不在代码中使用任何磁盘路径,然后我想从另一个项目的代码中打开它来读取和更改它 CreateNew(“Test”,lenght)-->这个函数允许我在RAM中创建一个特殊区域,据我所知,windows和ubuntu都支持这个函数 MemoryMappedFile.OpenExisting(“Test”)-->(或CreateOrOpen)此函数允许我读取RAM中特殊字段中的信息,然后根据需要更改其中的信息。不幸的是,此函数仅在Windows中使用 我

我想在RAM中创建的一个特殊区域中写一些东西,而不在代码中使用任何磁盘路径,然后我想从另一个项目的代码中打开它来读取和更改它

CreateNew(“Test”,lenght)-->这个函数允许我在RAM中创建一个特殊区域,据我所知,windows和ubuntu都支持这个函数

MemoryMappedFile.OpenExisting(“Test”)-->(或CreateOrOpen)此函数允许我读取RAM中特殊字段中的信息,然后根据需要更改其中的信息。不幸的是,此函数仅在Windows中使用

我怎样才能解决我的问题?Linux Ubuntu的OpenExisting有哪些替代方案?如果这种情况没有解决方案,你能推荐不同的图书馆吗