hi, I was wondering if it is possible to get the last write, modified and create times and dates for registry keys and values? The below registry key is the one im interested in. I have a program that reads the value of this key, but I would also like its modified time and date. I think there is something like FileTimetoSystemtime (I think) that uses the FILETIME structure to show windows timestamp but can this be used on the registry? If so could anyone start me off on how to do this?

HKEY_LOCAL_MACHINE\System\MountedDevices\DosDevice\F


Any help would be much appreciated, thank you

I don't think so because the registry isn't a file. If you know the filenames of the registry (there are more than one file) you would get the timestamp the last time the registry was changed, that won't tell you anything about an individual registry key.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.