Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. How to use Memory-mapped files in .Net?

How to use Memory-mapped files in .Net?

Scheduled Pinned Locked Moved .NET (Core and Framework)
questioncsharpperformancetutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Chen Venkataraman
    wrote on last edited by
    #1

    what is the cleanest way of dealing with memory-mapped files within .Net? Looking for a way to port a large library code that makes heavy use of memory-mapped files. Any pointers would be appreciated. Thanks. Chen Venkataraman

    D 1 Reply Last reply
    0
    • C Chen Venkataraman

      what is the cleanest way of dealing with memory-mapped files within .Net? Looking for a way to port a large library code that makes heavy use of memory-mapped files. Any pointers would be appreciated. Thanks. Chen Venkataraman

      D Offline
      D Offline
      Douglas Troy
      wrote on last edited by
      #2

      Chen, From what I've read, you'll have to wrap the Win32API calls yourself and probably make use of Unsafe code in your application to get this working. Memory Mapped Files are not directly supported in .NET ... D.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups