简体   繁体   English

当我的PC上有多个.net程序集时,该如何确定该产品的.net程序集已注册?

[英]How can i determine which of my product's .net assemblies are registered, when i have several on my pc?

I have the code for various versions of a software product I work on on my machine. 我拥有在计算机上使用的软件产品的各种版本的代码。 The product includes one or more assemblies that are registered for com interop. 该产品包括一个或多个已注册进行com互操作的程序集。 How can I determine which one is currently registered? 如何确定当前正在注册的是哪一个?

If you know the GUID of your assembly, look under HKCR\\CLSID\\{your guid}\\InprocServer32 . 如果您知道程序集的GUID,请在HKCR\\CLSID\\{your guid}\\InprocServer32 The Assembly key will have a value including the version. Assembly键将具有一个包含版本的值。

If you only have the ProgId, you can just search the registry for that string which will tell you the GUID. 如果只有ProgId,则可以在注册表中搜索该字符串,以告诉您GUID。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何确定我的DLL是否正在注册或正在执行? - How can I determine if my DLL is being registered or executing? 如何保护.NET程序集免受反编译? - How can I protect my .NET assemblies from decompilation? 如何确定哪个值在我的收藏中出现最多? - How can I determine which value occurs the most in my collection? 如何在解决方案中使用相同的CompositionConainer对象(或其包含的程序集)? - How can I use the same CompositionConainer object (or it's contained assemblies) across my solution? 如何确定应用程序的控制台窗口何时获得焦点或失去焦点? - How can I determine when my application's console window gets or loses focus? 为什么我不能在我引用的程序集中添加一些程序集 - Why I can't add some assemblies to my referenced assemblies 如何在我的项目中引用TeamFoundation程序集? - How can I reference TeamFoundation assemblies in my project? Enterprise Architect:如何添加我包含的程序集 (C# .NET 4) 以便我可以使用它们? - Enterprise Architect: How do I add my included assemblies (C# .NET 4) so I can use them? 如何确定运行.NET Windows Forms程序的监视器? - How do I determine which monitor my .NET Windows Forms program is running on? 如何修补.NET程序集? - How can I patch .NET assemblies?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM