mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-21 05:18:38 +00:00
30 lines
759 B
C#
30 lines
759 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Vestris.VMWareLib;
|
|
|
|
namespace Cosmos.Debug.VSDebugEngine.Host {
|
|
public class VMwarePlayer : VMware {
|
|
public VMwarePlayer(string aVmxFile) : base(aVmxFile) {
|
|
}
|
|
|
|
public static bool IsInstalled {
|
|
get {
|
|
return GetPlayerPathname() != null;
|
|
}
|
|
}
|
|
|
|
protected override string GetParams() {
|
|
return "\"" + GetPlayerPathname() + "\" \"" + mVmxFile + "\"";
|
|
}
|
|
|
|
protected static string GetPlayerPathname() {
|
|
return GetPathname("VMware Player", "vmplayer.exe");
|
|
}
|
|
|
|
protected override void ConnectToVMWare(VMWareVirtualHost aHost) {
|
|
aHost.ConnectToVMWarePlayer();
|
|
}
|
|
}
|
|
}
|