解决方法:Unable to cast COM object of type 'Shell32.ShellClass' to interface 'Shell32.IShellDispatch5'
场景回顾: 我需要做一个功能,很简单,就是显示出本地所有的网络连接 比如在我的网络连接里有以下的items。 代码里需要引用:Interop.Shell32.dll 这个dll 解决方案: ...