Take screenshot inside VM - VMware Workstation API VixCom C#
€8-30 EUR
Pagado a la entrega
Hello,
Hello, I'm using the following C# wrapper : [url removed, login to view] .
I want to take a screenshot inside the VM, but I always receive an unauthorized access exception when I use [url removed, login to view](); .
I've also tried skipping the C# wrapper and using [url removed, login to view] directly like below, but then I see that the error is actually a NullReference Exception error on the line of "[url removed, login to view]".
public static Image CaptureScreenImage()
{
using (VMWareVirtualHost virtualHost = new VMWareVirtualHost())
{
[url removed, login to view]();
using (VMWareVirtualMachine vm = [url removed, login to view](@"E:\Vmware Work\summonerfactory2\summonerfactory\[url removed, login to view]"))
{
if ([url removed, login to view])
{
[url removed, login to view]("Administrator", "linkinpark", 180);
[url removed, login to view]();
[url removed, login to view]();
var callback = new VMWareJobCallback();
var job = new VMWareJob([url removed, login to view](Constants.VIX_CAPTURESCREENFORMAT_PNG, null, callback), callback);
var imageBytes = [url removed, login to view]<byte[]>(Constants.VIX_PROPERTY_JOB_RESULT_SCREEN_IMAGE_DATA, [url removed, login to view]);
return [url removed, login to view](new MemoryStream(imageBytes));
}
else
{
return null;
}
}
}
}
Nº del proyecto: #10472784
Sobre el proyecto
Adjudicado a:
Hi, Could you please provide the _handle declaration and initialization part? _handle is null, but it is hard to tell why without seeing that part. Regards, Eugene
3 freelancers están ofertando un promedio de €72 por este trabajo
Hello, I hope you doing very well! I have gone through the description and would like to provide a quality solution using my 5+ years of professional experience in required skills. (.NET/ASP.NET - MVC, EF, SQL, C#). Más