全面管理共享内存.NET实现? [英] Fully managed shared memory .NET implementations?

查看:231
本文介绍了全面管理共享内存.NET实现?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在寻找共享内存的.NET免费的,全面管理的实施(P / Invoke的是可以接受的,混合的C ++ / CLI是不是)。

I'm looking for free, fully-managed implementations of shared memory for .NET (P/Invoke is acceptable, mixed C++/CLI is not).

推荐答案

听起来像是你正在寻找内存-Mapped文件,这在.NET 4.0 BCL的支持。

Sounds like you are looking for Memory-Mapped Files, which are supported in the .NET 4.0 BCL.

与.NET Framework 4版开始,您可以使用托管code来访问同样的方式,原生的Windows功能访问内存映射文件内存映射文件,如在Win32中管理内存映射文件描述MSDN Library中的

Starting with the .NET Framework version 4, you can use managed code to access memory-mapped files in the same way that native Windows functions access memory-mapped files, as described in Managing Memory-Mapped Files in Win32 in the MSDN Library

这篇关于全面管理共享内存.NET实现?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆