<p>Is there a way through the .net framework to determine if a folder is shared or not?</p>

<p>Neither Diretory, DirectoryInfo or FileAttributes seem to have any corresponding field.</p>

<p>One thing I forgot to mention was that I want to be checking for network shares.  But I'll investigate the WMI stuff.</p>

Try using WMI and doing a
```
SELECT * FROM Win32_ShareToDirectory
```
query.