I am using an instance of BuildHttpClient of the nuget package Microsoft.TeamFoundationServer.Client to get my builds. Unfortunately the fetched objects of type Build do not include the name or id of the agent used to ran the build.
The property Queue just contains informations about the used queue, but not about the specific agent. There's another property AgentSpecification, but this seems to be always empty.
I could probably parse the attached logs of a build, but that would be pretty cumbersome.
