title: How can I empty the recycle bin for all users from a Windows service application in c#
body: <p>I'm looking for a c# snippet which I can insert in a Windows service. The code must empty the recycle bin for all users on the computer.</p>
  
  <p>I have previously tried using <code>SHEmptyRecycleBin</code> (ref <a href="http://www.codeproject.com/KB/cs/Empty_Recycle_Bin.aspx" rel="nofollow noreferrer">http://www.codeproject.com/KB/cs/Empty_Recycle_Bin.aspx</a>) however the code doesn't work when ran from a windows service as the service is running with local system privileges.</p>