public FileNode Root(int streamidx = 0) { if (disposed) throw new ObjectDisposedException("FileStorage"); IntPtr node = NativeMethods.core_FileStorage_root(ptr, streamidx); if (node == IntPtr.Zero) return null; return new FileNode(node); }