基本信息
源码名称:C#共享内存
源码大小:0.08M
文件格式:.rar
开发语言:C#
更新时间:2023-11-03
   友情提示:(无需注册或充值,赞助后即可获取资源下载链接)

     嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300

本次赞助数额为: 2 元 
   源码介绍

C#共享内存

当处理大型数据或需要在多个进程(或多个程序)之间共享数据时,MemoryMappedFiles(内存映射文件)是一种非常有用的技术。它允许将文件映射到进程的虚拟内存中,从而可以直接在内存中读取和写入文件的内容,而无需进行显式的文件 I/O 操作。

.
├── C#共享内存
│   ├── 1、使用控制台的方式
│   │   ├── Program1
│   │   │   ├── Program1
│   │   │   │   ├── App.config
│   │   │   │   ├── Program.cs
│   │   │   │   ├── Program1.csproj
│   │   │   │   ├── Properties
│   │   │   │   │   └── AssemblyInfo.cs
│   │   │   │   ├── bin
│   │   │   │   │   └── Debug
│   │   │   │   │       ├── Program1.exe
│   │   │   │   │       ├── Program1.exe.config
│   │   │   │   │       ├── Program1.pdb
│   │   │   │   │       ├── Program1.vshost.exe
│   │   │   │   │       ├── Program1.vshost.exe.config
│   │   │   │   │       └── Program1.vshost.exe.manifest
│   │   │   │   └── obj
│   │   │   │       └── Debug
│   │   │   │           ├── DesignTimeResolveAssemblyReferencesInput.cache
│   │   │   │           ├── Program1.csproj.FileListAbsolute.txt
│   │   │   │           ├── Program1.csprojResolveAssemblyReference.cache
│   │   │   │           ├── Program1.exe
│   │   │   │           ├── Program1.pdb
│   │   │   │           ├── TempPE
│   │   │   │           ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
│   │   │   │           ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
│   │   │   │           └── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
│   │   │   └── Program1.sln
│   │   └── Program2
│   │       ├── Program2
│   │       │   ├── App.config
│   │       │   ├── Program.cs
│   │       │   ├── Program2.csproj
│   │       │   ├── Properties
│   │       │   │   └── AssemblyInfo.cs
│   │       │   ├── bin
│   │       │   │   └── Debug
│   │       │   │       ├── Program2.exe
│   │       │   │       ├── Program2.exe.config
│   │       │   │       ├── Program2.pdb
│   │       │   │       ├── Program2.vshost.exe
│   │       │   │       ├── Program2.vshost.exe.config
│   │       │   │       └── Program2.vshost.exe.manifest
│   │       │   └── obj
│   │       │       └── Debug
│   │       │           ├── DesignTimeResolveAssemblyReferencesInput.cache
│   │       │           ├── Program2.csproj.FileListAbsolute.txt
│   │       │           ├── Program2.csprojResolveAssemblyReference.cache
│   │       │           ├── Program2.exe
│   │       │           ├── Program2.pdb
│   │       │           ├── TempPE
│   │       │           ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
│   │       │           ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
│   │       │           └── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
│   │       └── Program2.sln
│   ├── 2、使用winForm的方式
│   │   ├── WindowsFormsApplication1
│   │   │   ├── WindowsFormsApplication1
│   │   │   │   ├── App.config
│   │   │   │   ├── Form1.Designer.cs
│   │   │   │   ├── Form1.cs
│   │   │   │   ├── Form1.resx
│   │   │   │   ├── Program.cs
│   │   │   │   ├── Properties
│   │   │   │   │   ├── AssemblyInfo.cs
│   │   │   │   │   ├── Resources.Designer.cs
│   │   │   │   │   ├── Resources.resx
│   │   │   │   │   ├── Settings.Designer.cs
│   │   │   │   │   └── Settings.settings
│   │   │   │   ├── WindowsFormsApplication1.csproj
│   │   │   │   ├── bin
│   │   │   │   │   └── Debug
│   │   │   │   │       ├── WindowsFormsApplication1.exe
│   │   │   │   │       ├── WindowsFormsApplication1.exe.config
│   │   │   │   │       ├── WindowsFormsApplication1.pdb
│   │   │   │   │       ├── WindowsFormsApplication1.vshost.exe
│   │   │   │   │       ├── WindowsFormsApplication1.vshost.exe.config
│   │   │   │   │       └── WindowsFormsApplication1.vshost.exe.manifest
│   │   │   │   └── obj
│   │   │   │       └── Debug
│   │   │   │           ├── DesignTimeResolveAssemblyReferences.cache
│   │   │   │           ├── DesignTimeResolveAssemblyReferencesInput.cache
│   │   │   │           ├── TempPE
│   │   │   │           ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
│   │   │   │           ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
│   │   │   │           ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
│   │   │   │           ├── WindowsFormsApplication1.Form1.resources
│   │   │   │           ├── WindowsFormsApplication1.Properties.Resources.resources
│   │   │   │           ├── WindowsFormsApplication1.csproj.FileListAbsolute.txt
│   │   │   │           ├── WindowsFormsApplication1.csproj.GenerateResource.Cache
│   │   │   │           ├── WindowsFormsApplication1.csprojResolveAssemblyReference.cache
│   │   │   │           ├── WindowsFormsApplication1.exe
│   │   │   │           └── WindowsFormsApplication1.pdb
│   │   │   └── WindowsFormsApplication1.sln
│   │   └── WindowsFormsApplication2
│   │       ├── WindowsFormsApplication2
│   │       │   ├── App.config
│   │       │   ├── Form1.Designer.cs
│   │       │   ├── Form1.cs
│   │       │   ├── Form1.resx
│   │       │   ├── Program.cs
│   │       │   ├── Properties
│   │       │   │   ├── AssemblyInfo.cs
│   │       │   │   ├── Resources.Designer.cs
│   │       │   │   ├── Resources.resx
│   │       │   │   ├── Settings.Designer.cs
│   │       │   │   └── Settings.settings
│   │       │   ├── WindowsFormsApplication2.csproj
│   │       │   ├── bin
│   │       │   │   └── Debug
│   │       │   │       ├── WindowsFormsApplication2.exe
│   │       │   │       ├── WindowsFormsApplication2.exe.config
│   │       │   │       ├── WindowsFormsApplication2.pdb
│   │       │   │       ├── WindowsFormsApplication2.vshost.exe
│   │       │   │       ├── WindowsFormsApplication2.vshost.exe.config
│   │       │   │       └── WindowsFormsApplication2.vshost.exe.manifest
│   │       │   └── obj
│   │       │       └── Debug
│   │       │           ├── DesignTimeResolveAssemblyReferences.cache
│   │       │           ├── DesignTimeResolveAssemblyReferencesInput.cache
│   │       │           ├── TempPE
│   │       │           ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
│   │       │           ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
│   │       │           ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
│   │       │           ├── WindowsFormsApplication2.Form1.resources
│   │       │           ├── WindowsFormsApplication2.Properties.Resources.resources
│   │       │           ├── WindowsFormsApplication2.csproj.FileListAbsolute.txt
│   │       │           ├── WindowsFormsApplication2.csproj.GenerateResource.Cache
│   │       │           ├── WindowsFormsApplication2.csprojResolveAssemblyReference.cache
│   │       │           ├── WindowsFormsApplication2.exe
│   │       │           └── WindowsFormsApplication2.pdb
│   │       └── WindowsFormsApplication2.sln
│   └── 说明.docx
└── 好例子网_C#共享内存.rar

35 directories, 100 files