EldoS | Feel safer!

Software components for data protection, secure storage and transfer

GetNextOpenedFile returns false always

Also by EldoS: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.
Posted: 02/07/2014 03:57:37
by Petr Kovalev (Standard support level)
Joined: 05/06/2013
Posts: 7


We are using CBFS driver on Windows Server 2012 Standard x64.

Program on C#.

CBFS drive mounted. After GetOpenedFilesSnapshot call got CbFsOpenedFilesSnapshot object with property OpenedFileCount greater than 0. But any call of GetNextOpenedFile method with true or false parameter returns false always.

We need to get list of filenames that opened at the moment.

Assume this code should work:

public IEnumerable<string> GetOpenedFiles()
var snapshot = _cbfs.GetOpenedFilesSnapshot();
if (snapshot == null)
return new string[0];
var result = new List<string>();
while (snapshot.GetNextOpenedFile(false))
return result;

Could you please help?
Posted: 02/07/2014 06:58:45
by Volodymyr Zinin (EldoS Corp.)

Moved to HelpDesk for further investigation.



Topic viewed 1014 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!