Information about Web Farm Framework API is hard to find, so I think this may help some others like me who are interested in using WFF and web deploy APIs.
In this case, I wanted to get a list of all servers in a particular Web Farm and then push a file to all of them.
First step is to add references to these libreries in your project:
Microsoft.Web.Deployment
Microsoft.web.Farm
The DLLs for these libraries are located in respective folders under C:\Program Files\IIS
I used the following helper methods to do what I needed.More...
db9145c5-759e-4a38-9974-ebc99894c5b5|2|5.0
web farm framework, api, wff