<div dir="ltr"><div><div>Hi!<br></div>I've noticed something odd while processing files in a guest file system.<br></div><div><br></div><div>I can retrieve with no problems an IFsObjInfo from IGuestSession::fileQueryInfo and read most of the information with no issues, but the timestamp fields:<br>
<br>* IFsObjInfo::accessTime<br>* IFsObjInfo::birthTime<br>* IFsObjInfo::modificationTime - being the one I am actually interested in.<br><br></div><div>I understand correctly that they should be returned as UNIX timestamps, yes?<br>
</div><div><br></div><div>The values for each of these values seem to be semi-random: if I read the value for the same file, the values change each time I read them.<br><br>An example:<br></div><div>accessTime: 4611687856674308103<br>
</div><div>birthTime: 61683424<br></div><div>modificationTime: 1099702688<br><br></div><div>None of which makes sense as UNIX timestamps. Furthermore reading the information from the same file again returns the following:<br>
<br><div>accessTime: 52218215858178<br></div><div>birthTime: 61685760<br></div>modificationTime: 1105479024<br><br></div><div>Another observation I have made is that IFsObjInfo::modificationTime is always identical to IFsObjInfo::nodeId - reading the documentation, this doesn't really make sense to me why this would be.<br>
<br><br></div><div>I tested this on VirtualBox 4.3.10 with a Windows 7 host and guest, but it also occurs in older versions as far as I can tell. I thought perhaps marshalling could be the issue, and that the values should be ulong rather than long, but I still don't see how that would cause them to vary each time the information is read.<br>
</div></div>