If I have an app that runs on the very nice mono and therefore runs on
multiple platforms, what is the best way to have that app move files/folders
into the recycle bin ?

I know in Windows the location is at:
c:\recycled\{hkcu_sid}
in linux at:
/home/{username}/.local/share/Trash (well, for compliant linuxes ;) )
on the Mac OSX at:
{somewhere, I'm not a mac-user}/.Trashes

However I'd really like some sort of platform-independent way of moving
items into the trashcan within Mono. I'd rather not be writing
platform-switching type code within the app itself if possible.

Any suggestions ?
-- 
View this message in context: 
http://www.nabble.com/trashcan-in-mono-tp24559069p24559069.html
Sent from the Mono - Dev mailing list archive at Nabble.com.

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to