I’ve read that Windows Virtual PC comes with a COM interface (VirtualPC.Application).
I’ve read blogs about how to use it from Powershell. But how can I use it from c#? Specifically, is there a Primary Interop Assembly (PIA) that I can use in c# to get intellisense in visual studio?
I’ve read that Windows Virtual PC comes with a COM interface (VirtualPC.Application). I’ve read
Share
Export the COM wrapper with:
tlbimp c:\windows\system32\vpc.exe /out:\vpc.dll
Add a reference to the generated dll: vpc.dll
var vpc_obj = new vpc.VMVirtualPCClass();