C#MemoryMappedFile在.NET 3.5中 [英] c# MemoryMappedFile in .net 3.5

查看:442
本文介绍了C#MemoryMappedFile在.NET 3.5中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要使用MemoryMappedFile类在.NET 3.5中... 有没有办法找到在.NET 4.0中使用的类的code和建立在.NET 3.5中使用? 在此先感谢

I need to use MemoryMappedFile class in .net 3.5... is there any way to find the code of the classes used in .net 4.0 and create to use in .net 3.5? thanks in advance

推荐答案

如果你需要的内存映射到.NET 3.5的文件,你也可以写自己周围的包装的相应的Win32 的方法从头开始。这可能需要多一点努力,但它避免了任何授权的问题。

If you need memory mapped files in .NET 3.5, you could also write your own wrapper around the respective Win32 methods from scratch. This might take a bit more effort, but it avoids any licensing issues.

这篇关于C#MemoryMappedFile在.NET 3.5中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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