Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

So something like

    [DllImport(..., EntryPoint = "mlock")]
    extern int MLock(UIntPtr addr, uint len);
And then getting the pointer either from MemoryMappedViewAccessor or AllocHGlobal?


Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: