I’m using Aspose cells Product - License File has been set in AWS S3 repository and im trying to fetch the file to asposeLicense.SetLicense(memory); - through stream object in c#.
GetObjectResponse response = await client.GetObjectAsync(request);
MemoryStream memory = new MemoryStream(); await response.ResponseStream.CopyToAsync(memory); Console.WriteLine("Object Response Ends"); asposeLicense.SetLicense(memory); Console.WriteLine("Memory:" + asposeLicense);
When i tried to do the above functionality, I’m getting “Root element is missing in this line - asposeLicense.SetLicense(memory);”
Please help me out asap.,
Thanks in advance.