/// <summary> /// Get the Citrix machine model for the given server ID /// </summary> /// <param name="connectionSettings"></param> /// <param name="machineId"></param> /// <returns></returns> public IManagedMachine GetMachineDetails(ConnectionSettings connectionSettings, string machineId) { ComputeApiClient client = connectionSettings.GetComputeClient(); ServerType server = client.ServerManagement.Server.GetServer(Guid.Parse(machineId)).Result; return(server.ToManagedMachine()); }