I have some web service running on my computer how can I get by webservice name it's application pool settings ?

I just need to change programmatic way it's "Enable 32 bit Applications" flag.

I am talking about IIS7.