Thanks for posting in the Tableau Community! I moved this post to the Tableau Developers Forum (linked-below) to hopefully better assist with the inquiry.
Another suggestion I have would be to leverage the Tableau document API for making any modifications to workbook XML. This is a based in Python, not C#, so it make take some additional learning.
Hope this helps!