private void FlushCore() { if (_hkey != null && IsDirty()) { Interop.Advapi32.RegFlushKey(_hkey); } }