如何找到Windows PC的共享数据/文件夹?(How can I find the shared data/folders of a windows pc?)

系统教程 行业动态 更新时间:2024-06-14 16:58:29
如何找到Windows PC的共享数据/文件夹?(How can I find the shared data/folders of a windows pc?)

我正在寻找一种方法,我可以从我的网络上的电脑上获取IP,然后扫描它以查找共享文件夹。 我知道如何找到那些不是问题的ip,但是可以在不知道共享数据的实际名称的情况下搜索每个ip的共享文件夹吗?

我在考虑类似于c#的东西,你可以从所选目录中获取所有可访问的文件。

哦,如果可能的话,可以用C ++完成吗?

I'm looking to find a way where I can have an ip from a pc on my network and then scan it for shared folders. I know how to find those ip's that isn't the problem but is it possible to search for shared folders per ip without knowing the actual name of that shared data?

I was thinking of something resembling c# where you can get all accessible files from a selected directory.

Oh, if possible, can this be done in C++?

最满意答案

您可能需要使用NetShareEnum ( http://msdn.microsoft.com/en-us/library/windows/desktop/bb525387%28v=vs.85%29.aspx )。 请参阅页面上的示例。

You might need to use NetShareEnum (http://msdn.microsoft.com/en-us/library/windows/desktop/bb525387%28v=vs.85%29.aspx). See the example on the page.

更多推荐

本文发布于:2023-04-15 03:23:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/dzcp/94fa7816c3ef00ee69d1868324145497.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:文件夹   数据   find   PC   Windows

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!