Click here to Skip to main content
15,895,746 members
Articles / Programming Languages / C#

Memory Mapped File Interoperability with .NET Objects

Rate me:
Please Sign up or sign in to vote.
4.76/5 (11 votes)
23 Oct 2012CPOL2 min read 50.7K   1.4K   30  
This article provides the basic framework for reading/writing .NET objects, targeting the Windows Memory Mapped File API.

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual C# Express 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ManagedObjectMMF", "ManagedObjectMMF\ManagedObjectMMF.csproj", "{85365044-CCE9-4114-9DB9-48CA050DB374}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|x86 = Debug|x86
		Release|x86 = Release|x86
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{85365044-CCE9-4114-9DB9-48CA050DB374}.Debug|x86.ActiveCfg = Debug|x86
		{85365044-CCE9-4114-9DB9-48CA050DB374}.Debug|x86.Build.0 = Debug|x86
		{85365044-CCE9-4114-9DB9-48CA050DB374}.Release|x86.ActiveCfg = Release|x86
		{85365044-CCE9-4114-9DB9-48CA050DB374}.Release|x86.Build.0 = Release|x86
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect Anodyne Enterprise Security
United States United States
I've spent the last 30+ years building secure, durable code in government, healthcare, and critical infrastructure industries, from FORTRAN 4 to C#, on databases from pre-SQL ISAM ones to Oracle 12, and on platforms from VMS to Linux (not to exclude all common permutations by Microsoft). In my spare time, I teach classes on whole-system design principles from configuring SANS, programming switches, to advanced principles in C# for creating secure, durable code. I am CISSP and CCSP certified, regularly working with legal teams to validate Cloud security and regulatory compliance.

Comments and Discussions