解決方法:Unable to cast COM object of type 'Shell32.ShellClass' to interface 'Shell32.IShellDispatch5'
場景回顧: 我需要做一個功能,很簡單,就是顯示出本地所有的網絡連接 比如在我的網絡連接里有以下的items。 代碼里需要引用:Interop.Shell32.dll 這個dll 解決方案: ...
場景回顧: 我需要做一個功能,很簡單,就是顯示出本地所有的網絡連接 比如在我的網絡連接里有以下的items。 代碼里需要引用:Interop.Shell32.dll 這個dll 解決方案: ...