Private Sub MakeMemoryMappedFile()
Dim File = MemoryMappedFile.CreateOrOpen("MemoryFile", 26)
Dim bytes = New Byte(25) {}
For i As Integer = 0 To bytes.Length - 1
bytes(i) = i + 1
Next
Using writer = File.CreateViewAccessor(0, bytes.Length)
writer.WriteArray(Of Byte)(0, bytes, 0, bytes.Length)
End Using
End Sub
i have found the above code for writing the data in shared memory mapping .smilary can we write the xml data in shared memory mapping