Determining if a folder is shared in .NET

后端 未结 4 920
情书的邮戳
情书的邮戳 2020-11-30 12:42

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

Neither Diretory, DirectoryInfo or FileAttributes seem to have any corresponding

4条回答
  •  执念已碎
    2020-11-30 13:10

    You can use WMI Win32_Share. Take a look at:

    http://www.gamedev.net/community/forums/topic.asp?topic_id=408923

    Shows a sample for querying, creating and deleting shared folders.

提交回复
热议问题