从我的 C# 应用程序访问 SDExplorer(系统文件夹)

发布于 2024-08-28 02:17:53 字数 536 浏览 4 评论 0原文

我正在尝试 Windows Live SkyDrive,并且安装了 SDExplorer (http://www.cloudstorageexplorer.com/

它的工作原理是将我的 SkyDrive 文件夹添加到 Windows 资源管理器,但它没有获取驱动器名称或任何内容,那么我如何从我的 C# 应用程序访问该驱动器/文件夹?

当我进入该文件夹并查看地址栏时,它显示“Computer\SDExplorer”。

Directory.GetDirectories(@"\Computer\SDExplorer") 不起作用,因为它转换为“C:\Computer\SDExplorer”。

我希望能够创建一个小型应用程序,可以创建文件夹并将文件上传到我的 SkyDrive 帐户。

有人知道这些特殊文件夹/驱动器如何工作吗? - 我注意到 MozyHome 以同样的方式出现在我的 Windows 资源管理器中。

I am trying out Windows Live SkyDrive, and I installed SDExplorer (http://www.cloudstorageexplorer.com/)

It works by adding my SkyDrive folder to Windows Explorer, but it does not get a drive name or anything, so how can I access that drive/folder from my C# application?

When I go into the folder and look at the address bar it says "Computer\SDExplorer".

Directory.GetDirectories(@"\Computer\SDExplorer") does not work, because it translates to "C:\Computer\SDExplorer".

I would like to be able to create a small application that can create folders and upload files to my SkyDrive account.

Anybody know how these special folder/drives work? - I noticed MozyHome appears in the same way in my Windows Explorer.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

我不在是我 2024-09-04 02:17:53

一些背景信息: http:// /www.technospot.net/blogs/how-to-create-a-system-folder-in-my-computer/

SDExplorer 文件夹是系统文件夹。您可以在注册表中的以下位置找到它

HKEY_CLASSES_ROOT\CLSID{0016CE0E-728C-4FC9-98E5-D0B35B384597}

不是使用 shell32.dll,而是使用 C:\Program Files\SDExplorer\SDShellNSE.dll,0参数a0800018而不是普通路径。

如果我的假设正确,则文件夹位置隐藏在该 DLL 文件中的某个位置。我用十六进制编辑器查看了但找不到任何有用的东西。

Some background info: http://www.technospot.net/blogs/how-to-create-a-system-folder-in-my-computer/

The SDExplorer folder is a system folder. You can find it in the registry at the following location

HKEY_CLASSES_ROOT\CLSID{0016CE0E-728C-4FC9-98E5-D0B35B384597}

Instead of using shell32.dll it uses C:\Program Files\SDExplorer\SDShellNSE.dll,0 with the parameter a0800018 instead of a normal path.

If my assumptions are correct, the folder location is hidden somewhere in that DLL file. I had a look with a hex editor but could not find anything useful.

御守 2024-09-04 02:17:53

非常感谢您的回复。因为我对它的工作原理很感兴趣,所以我会尝试更深入地挖掘。感谢您为我指明了正确的方向。

我已经成功构建了我的小应用程序(使其成为一项服务),它可以创建文件夹并将文件上传到 SkyDrive。我在没有 SDExplorer 的情况下完成了此操作,而是使用了有人在这里构建的 SkyDrive .NET API:http://skydriveapiclient.codeplex。 com/

问候
索伦

Thanks a lot for your replies. Because I am interested in how this works I will try to dig a little deeper. Thanks for pointing me in the right direction.

I have managed to build my small application (made it into a service), which can create folders and upload files to SkyDrive. I did this without SDExplorer, and instead I used the SkyDrive .NET API someone build here: http://skydriveapiclient.codeplex.com/

Greetings
Søren

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文