none
Read the word.docx file in xamarin form or write the signature into read file RRS feed

  • Question

  • When i will read the docx file by using stream this method GetManifestResourceStream will given me null stream here the code

    var assembly = typeof(Page1).GetTypeInfo().Assembly;

                    Stream stream = assembly.GetManifestResourceStream("App2.TextFile1.txt");



                    string text = "";

                    using (var reader = new System.IO.StreamReader(stream))
                    {

                        text = reader.ReadToEnd();

                    }

    kindly give me a solution as early as possible


    • Moved by Fei Hu Friday, February 9, 2018 5:22 AM Xamarin related
    Thursday, February 8, 2018 2:50 PM

All replies

  • Hello ,

    Your issues is more related to Xamarin, You could repost a new thread to Xamarin forum for better solution and professional support.

    If you have some grammar or code errors in using C#, please feel free to contact us. We will try our best to give you a solution.

    Best Regards,

    Neil Hu


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, February 9, 2018 5:22 AM