Instead of "NameOfController" try to use "ControllerName".
I saw I´m using this string in my code.
Regarding the error you have for your Controller.
Please fully uninstall all installed robot controllers and reinstall just the Kuka-Krc controller (as admin).
Thank you both. Patrick your thing worked. Now I´m struggling with Problem called src. Ps just download .olp,.dat,.log, and src without extension. Did someone have this Issue allready?
You need to set your path to something like this:
string path = @"C:\temp\testprog.src";
This is used in the downloader:
downloader.Download(prog, path, true);