public bool SetEFINextBootDevice(string MachineID, int ID) { NetInt32 p = new NetInt32(); p.Data = ID; NetBool pres; bool resb = SendReq <NetInt32, NetBool>("api/pushy/listefibootdevices/" + MachineID, Verb.POST, p, out pres, out res, 300); if (pres == null) { return(false); } else { return(pres.Data); } }
public bool PushKillTask(string MachineID, int PID) { NetInt32 p = new NetInt32(); p.Data = PID; NetBool pres; bool resb = SendReq <NetInt32, NetBool>("api/pushy/killtask/" + MachineID, Verb.POST, p, out pres, out res, 300); if (pres == null) { return(false); } else { return(pres.Data); } }