It looks like everything in it has to do with bfgminer. Do I just change anything that says bgminer to cgminer? Or is there something else that I need to change?
The Xgminer API Assembly has nothing specific to bfgminer in it. The example code does use bfgminer though.