[DllImport("shell32.dll", CharSet = CharSet.Unicode)] public static extern int SHQueryRecycleBin( string pszRootPath, ref SHQUERYRBINFO pSHQueryRBInfo );
Microsoft documentation: Link
Last updated 1 year ago