RegistryKey: Flush

Flush

Flushes any changes to the Windows Registry back to disk.



 Public Sub Flush ( )

Remarks

Generally this does not need to be called. Windows writes back to the disk Registry at regular intervals and when the system shuts down. values of other keys written to the Registry may also be flushed back to disk as well.

Only call this function if it is absolutely necessary to be sure the data has been written to the Registry. Excessive calls to this function can impact system performance.

See Also

Project CorLib Overview

Class RegistryKey Overview