SHEmptyRecycleBin

[DllImport("shell32.dll", CharSet = CharSet.Unicode)]
public static extern int SHEmptyRecycleBin(
   IntPtr hwnd,
   string pszRootPath,
   uint dwFlags
);

Microsoft documentation: Link

Last updated