I have an application that writes to memory a result in the following way:
using (MemoryMappedFile mmf = MemoryMappedFile.CreateOrOpen(sMemfile, 1028))
{
using (MemoryMappedViewStream stream = mmf.CreateViewStream())
{
BinaryWriter writer = new BinaryWriter(stream);
writer.Write(resultado);
}
}
I know that to read the result from another application the following process is used:
using (MemoryMappedFile mmfile = MemoryMappedFile.OpenExisting(sMemfile))
{
using (MemoryMappedViewStream stream = mmfile.CreateViewStream())
{
BinaryReader reader = new BinaryReader(stream);
resultado = reader.ReadString();
}
}
But I would like to do the latter from a website with JQuery, is there any way or method similar to MemoryMappedFile that allows me to read what my application sent me? Thanks!