创建一个外壳名称空间扩展 [英] Create a shell namespace extension

查看:76
本文介绍了创建一个外壳名称空间扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Acronis如何创建此虚拟文件夹.例如,我创建了位于C:\Example的文件夹Example的备份,这是备份的样子:

How does acronis create this virtual folders. For example I created a backup of the folder Example located at C:\Example This is how the backup looks:

如果我双击该文件,则可以导航至:

如果我右键单击该文件夹,将无法获得目录附带的常规菜单.如果我双击该目录,那么我将以以下方式导航到该文件夹​​的内容:

请注意,我正在查看的内容位于Windows资源管理器中而不是文件中.

我知道,如果我将VirtualDir.tib发送给某人,他们将无法看到相同的内容,因为他们没有安装了皇冠真实图像.

I know that if I send VirtualDir.tib to somewone they will not be able to see the same because they do not have acronis true image installed.

我怎么能用c#做类似的事情?

How could I be able to do something similar with c# ?

对不起,我刚刚更新了标题.我怎么能用c#创建一个chell名称空间扩展?

推荐答案

要回答有关是否可以在 C#中完成的问题,答案是否定的.正如明确指出的那样,此处,完全不支持在托管代码中编写Shell扩展. 这是因为可以将Shell扩展DLL加载到多个进程中,其中某些进程已经加载了另一个版本的CLR.

To answer your question about whether it can be done in C#, the answer is no. As is explicitly stated here, writing shell extensions in managed code is entirely unsupported. This is because shell extension DLLs can be loaded into multiple processes, some of which would already have another version of the CLR loaded.

这篇关于创建一个外壳名称空间扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆