/// <summary> /// Reads the registered object and returns pointer to it /// </summary> /// <returns></returns> public IntPtr ReadObj() { if (disposed) { throw new ObjectDisposedException("FileNode"); } return(NativeMethods.core_FileNode_readObj(ptr)); }
/// <summary> /// Reads the registered object and returns pointer to it /// </summary> /// <returns></returns> public IntPtr ReadObj() { ThrowIfDisposed(); var res = NativeMethods.core_FileNode_readObj(ptr); GC.KeepAlive(this); return(res); }
/// <summary> /// Reads the registered object and returns pointer to it /// </summary> /// <returns></returns> public IntPtr ReadObj() { ThrowIfDisposed(); return(NativeMethods.core_FileNode_readObj(ptr)); }