I am trying to utilize the cisco anyconnect COM API in my C# application. But I am getting errors when I try to instantiate the object:
An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in VPN.dll
Additional information: Retrieving the COM class factory for component with CLSID {C15C0F4F-DDFB-4591-AD53-C9A71C9C15C0} failed due to the following error: 800701e7 Attempt to access invalid address. (Exception from HRESULT: 0x800701E7).
I am using VpnApiLib.dll, Cisco AnyConnect Secure Mobility Client VPN API 1.0 Type Library.
Any Ideas?