[Mono-dev] trashcan in mono

michael.1000 m_ivanic at iinet.net.au
Sun Jul 19 13:35:48 EDT 2009

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:
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.

More information about the Mono-devel-list mailing list