使用vb.net共享文件夹的权限 [英] Sharing Permissions for folder using vb.net
本文介绍了使用vb.net共享文件夹的权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
以编程方式共享文件夹的Vb.Net代码是什么?
What is the Vb.Net code for sharing a folder Programatically?
推荐答案
您好b $ b
您可以这样做使用System.Management
获取更多信息请点击以下链接:
http:/ /social.msdn.microsoft.com/Forums/en-US/7628f2dd-ee0e-42ab-8aeb-d9a3fbe716c7/how-to-share-the-folder-using-vbnet-code?forum=netfxnetcom [< a href =http://social.msdn.microsoft.com/Forums/en-US/7628f2dd-ee0e-42ab-8aeb-d9a3fbe716c7/how-to-share-the-folder-using-vbnet-code?forum= netfxnetcomtarget =_ blanktitle =新窗口> ^ ]
http://www.vbforums.com/showthread.php?616267-Creating-shared-folders-and-specifying-share-权限 [ ^ ]
如果您想使用Windows API,您可以看到这个例子:
http://blog.cjwdev.co.uk/2010/05/25 / vb-net-sharing-a-folder /#more-147 [ ^ ]
试试这个链接:
http://www.vbforums。 com / showthread.php?616021-Setting-file-and-folder-permissions& p = 3808272#post3808272 [ ^ ]
分享烫发在Windows 7中以编程方式完全控制每个人:
http://social.msdn.microsoft.com/Forums/ windowsdesktop / EN-US / de213b61-dc7e-4f33-ACDB-893aa96837fa / C-设置目录共享,权限,完全控制换大家-编程功能于Windows的7-或?论坛= windowssdk [ ^ ]
最诚挚的问候。
Hi
You can do it withSystem.Management
for getting more information please follow of these links:
http://social.msdn.microsoft.com/Forums/en-US/7628f2dd-ee0e-42ab-8aeb-d9a3fbe716c7/how-to-share-the-folder-using-vbnet-code?forum=netfxnetcom[^]
http://www.vbforums.com/showthread.php?616267-Creating-shared-folders-and-specifying-share-permissions[^]
if you want to use windows API you can see this example:
http://blog.cjwdev.co.uk/2010/05/25/vb-net-sharing-a-folder/#more-147[^]
Try this link:
http://www.vbforums.com/showthread.php?616021-Setting-file-and-folder-permissions&p=3808272#post3808272[^]
Sharing permission Full control for Everyone programmatically in Windows 7:
http://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/de213b61-dc7e-4f33-acdb-893aa96837fa/c-set-directory-sharing-permission-full-control-for-everyone-programmatically-in-windows-7-or?forum=windowssdk[^]
Best Regards.
这篇关于使用vb.net共享文件夹的权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文