Hellow. It’s my code
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Thanks for your request. Please try using the following snippet of code:
MemoryStream stream = new MemoryStream();
Please let me know in case of any issues, I will be glad to help you.