Set WorkItemTrackingCacheRoot in .NET code instead of web.config
===

I am using TFS WIT in a web application and I am currently setting the cache folder for work items (used by TFS API) in the web.config

<add key="WorkItemTrackingCacheRoot" value="C:\Temp\WorkItemTrackingCacheRoot\"/>

I want to set this in code, as I want to use the users default temorary files folder path from Path.GetTempFolderPath.

Any thoughts on how to do this?