
Hi ,
I would like to convert the xmldocument object to memorystream object.
Thanks
-K
*This post is locked for comments
I have the same question (0)XmlDocument is a class - you must serialize the object (a reference in memory) to something that can be transferred. The obvious choice is using XML (= text).
It changes your question to something much more general - how to create a MemoryStream instance from a string. Because you're not the first one asking this question, you can easily find answers on internet. For instance, look at StackOverflow thread how to generate a stream from a string?.