反射镜能够显示进口的类型和组件。右键单击程序集并选择
分析
从上下文菜单。然后,您可以展开生成的树视图,并复制依赖项的文本表示形式(但没有XML,只是简单的纯文本)。例如,对于
演示核心
您将得到的程序集(并非所有引用都在下面的示例中展开):
PresentationCore
Depends On
Microsoft.VisualC
Microsoft.VisualC.DebugInfoInPDBAttribute..ctor()
Microsoft.VisualC.MiscellaneousBitsAttribute..ctor(Int32)
mscorlib
PresentationCFFRasterizer
System
System.Deployment
System.Drawing
System.Xml
UIAutomationProvider
UIAutomationTypes
WindowsBase
P/Invoke Imports
ADVAPI32.dll
<Module>.CloseServiceHandle(SC_HANDLE__*) : Int32 modopt(CallConvStdcall)
<Module>.CreateWellKnownSid(WELL_KNOWN_SID_TYPE, Void*, Void*, UInt32 modopt(IsLong)*) : Int32 modopt(CallConvStdcall)
<Module>.InitializeSecurityDescriptor(Void*, UInt32 modopt(IsLong)) : Int32 modopt(CallConvStdcall)
<Module>.OpenSCManagerW(UInt16 modopt(IsConst)*, UInt16 modopt(IsConst)*, UInt32 modopt(IsLong)) : SC_HANDLE__* modopt(CallConvStdcall)
<Module>.OpenServiceW(SC_HANDLE__*, UInt16 modopt(IsConst)*, UInt32 modopt(IsLong)) : SC_HANDLE__* modopt(CallConvStdcall)
<Module>.QueryServiceStatus(SC_HANDLE__*, _SERVICE_STATUS*) : Int32 modopt(CallConvStdcall)
<Module>.RegCloseKey(HKEY__*) : Int32 modopt(IsLong) modopt(CallConvStdcall)
<Module>.RegOpenKeyExW(HKEY__*, UInt16 modopt(IsConst)*, UInt32 modopt(IsLong), UInt32 modopt(IsLong), HKEY__**) : Int32 modopt(IsLong) modopt(CallConvStdcall)
<Module>.RegQueryInfoKeyW(HKEY__*, UInt16*, UInt32 modopt(IsLong)*, UInt32 modopt(IsLong)*, UInt32 modopt(IsLong)*, UInt32 modopt(IsLong)*, UInt32 modopt(IsLong)*, UInt32 modopt(IsLong)*, UInt32 modopt(IsLong)*, UInt32 modopt(IsLong)*, UInt32 modopt(IsLong)*, _FILETIME*) : Int32 modopt(IsLong) modopt(CallConvStdcall)
<Module>.RegQueryValueExW(HKEY__*, UInt16 modopt(IsConst)*, UInt32 modopt(IsLong)*, UInt32 modopt(IsLong)*, Byte*, UInt32 modopt(IsLong)*) : Int32 modopt(IsLong) modopt(CallConvStdcall)
<Module>.SetSecurityDescriptorDacl(Void*, Int32, _ACL*, Int32) : Int32 modopt(CallConvStdcall)
<Module>.SetSecurityDescriptorSacl(Void*, Int32, _ACL*, Int32) : Int32 modopt(CallConvStdcall)
<Module>.StartServiceW(SC_HANDLE__*, UInt32 modopt(IsLong), UInt16 modopt(IsConst)**) : Int32 modopt(CallConvStdcall)
KERNEL32.dll
mscms.dll
mshwgst.dll
MSVCR80.dll
ntdll.dll
ole32.dll
penimc.dll
PresentationNative_v0300.dll
shfolder.dll
urlmon.dll
user32.dll
WindowsCodecs.dll
WindowsCodecsExt.dll
wpfgfx_v0300.dll