Windows Folder Share API

前端 未结 2 1860
南旧
南旧 2021-01-23 12:45

is there a WIN32 API available to manage folder sharing in Windows? Some links to examples will be helpful. Thanks.

相关标签:
2条回答
  • 2021-01-23 13:39

    Yes, since Windows 2000 Professional there's a networking API available in netapi32.dll which provides this functionality. Functions like NetShareAdd, NetShareCheck, NetShareDel let you manage the shared files. See

    http://msdn.microsoft.com/en-us/library/bb525393(VS.85).aspx

    for more information,

    0 讨论(0)
  • 2021-01-23 13:41

    There is a tutorial for doing this with C#, might be some help?

    0 讨论(0)
提交回复
热议问题