hi, i am trying to set an icon for a folder, but he new icon is not showing. The only way i can get it to set is by restarting explorer. this is a segment of the code

Code:
                string lzDeskIni = FixPath(txtFolder.Text) + "desktop.ini";
                ini = new inifile(lzDeskIni);
                ini.WriteString(".Shellclassinfo", "Iconfile", txtFilename.Text);
                ini.WriteString(".Shellclassinfo", "Iconindex", lItem.Index.ToString());
                File.SetAttributes(lzDeskIni, (FileAttributes.Hidden));
                File.SetAttributes(FixPath(txtFolder.Text), (FileAttributes.System));
                SHChangeNotify(0x08000000, 0x0000, (IntPtr)null, (IntPtr)null);
SHChangeNotify is not working at all, Windows 11 any help be greatfull thanks.