我怎样才能获得海关总署的使用C#的位置? [英] How can i get the location of the GAC using C#?

查看:136
本文介绍了我怎样才能获得海关总署的使用C#的位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我怎样才能获得 GAC <打击>的位置目录使用C#?

How can i get the location of the GAC directory using C#?

存在于Windows注册表中的项?

Exist an entry in the Windows Registry?

更新

我需要的位置,因为,我想列举和分析,位于GAC中的程序集。

I need the location because, i want to enumerate and analyze the assemblies located in the GAC.

再见。

推荐答案

如果要列举的东西在GAC(如编写一个系统管理工具),你最好的选择是使用fusion.dll尽管这需要一定的互操作code就在你身边。

If you want to enumerate the stuff in the GAC (e.g. writing an system administration tool) your best option is to use the fusion.dll although this requires some interop code on your side.

链接到微软Fusion.DLL文档

这篇关于我怎样才能获得海关总署的使用C#的位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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