title: Write permissions on a folder or UNC path in c#
body: <p>Any way to check if write permissions are available on a given path that could be either a local folder (c:\temp) or a UNC (\server\share)?  I can't use try/catch because I might have write permissions but not delete so I wouldn't be able to delete created file...</p>