HostNetworkInterfaces - TypeLoadException
Posted: 18. Jul 2017, 13:15
Hi,
I'm playing around with the API to start and stop Virtualbox with C#. All is running fine, but now I tried the following:
This results in a TypeLoadException for the type VirtualBox.IHostNetworkInterface.
Anyone ever had such an issue?
I'm running VBox 5.1.22 on Win 7, but same result on Win 10.
Thanks in advance.
Kind regards
Ben
I'm playing around with the API to start and stop Virtualbox with C#. All is running fine, but now I tried the following:
Code: Select all
VirtualBox.VirtualBox vb = new VirtualBox.VirtualBox();
IHost ihost = vb.Host;
HostNetworkInterfaceType t = HostNetworkInterfaceType.HostNetworkInterfaceType_HostOnly;
ihost.FindHostNetworkInterfacesOfType(t);
Anyone ever had such an issue?
I'm running VBox 5.1.22 on Win 7, but same result on Win 10.
Thanks in advance.
Kind regards
Ben