MemoryMappedViewAccessor WriteArray<T> and ReadArray<T> UnmanagedMemoryAccessor, Are these suppose to be used in methods marked unsafe?

28 views Asked by At

Both the MemoryMappedViewAccessor WriteArray and ReadArray methods are marked as UnmanagedMemoryAccessor. Does that mean it is best to uses these methods in a method marked unsafe? I tried both these methods in communication between two applications in methods NOT marked unsafe and they worked. The ReadArray was in a task thread method in one application, while the WriteArray was in the main thread of the other application.

0

There are 0 answers

Related Questions in FACEBOOK-C#-SDK