balto

I have a xml file and part of my code need to use this file as an input to executes another program. For some security reason, I don't like to release this xml file with my binary. So is there a way to build the xml file into a binary and at runtime I can generate this file dynamically and pass it to the program



Re: XML and the .NET Framework build a xml file into a binary (dll or exe)

Rick Byers - MSFT

Hi,

The Building development and diagnostic tools for .NET forum is about using CLR APIs to build developer tools like debuggers and profilers. I've moved your question to a forum which should be more appropriate.

Thanks,

Rick





Re: XML and the .NET Framework build a xml file into a binary (dll or exe)

Martin Honnen

You can put an XML document in your assembly and then your application can read it out using the GetManifestResourceStream method.