public static void EmptyRecycleBin(EmptyRecycleBinOptions options) { NativeMethods.SHEmptyRecycleBin(IntPtr.Zero, null, (NativeMethods.SHEmptyRecycleBinFlags)options); }
/// <summary> /// Empties the recycle bin for the current user. /// </summary> /// <param name="options">The list of flags to pass to the shell regarding /// the user feedback, etc.</param> public static void Empty(EmptyRecycleBinOptions options) { NativeMethods.SHEmptyRecycleBin(IntPtr.Zero, null, (NativeMethods.SHEmptyRecycleBinFlags)options); }