cancel
Showing results for 
Search instead for 
Did you mean: 

Web API command for Exporting Machine key

Hello everyone, long time lurker first time poster.

I have setup a web server and am trying to get the api calls for applying a tag, which I have done successfully, but I need assistance with the export command for the recovery key.  I am using C# and am having a problem with the format export.  the file gets exported in IE and I do a save with the machinename.xml but when I open it to look at it IE just spins.  If I do a right click and edit I see the information, but I cannot see it as the correct xml format for the machine to read the file, it tells be bad xml file.

When I get the file and open it, I see the ok text first and a blank line?  Any thoughts or ideas on how to correct.

Thanks, Vince

https://myeposerver:8443/remote/eeadmin.exportMachineKey?machineName=insertnamehereG&oldKeys=False