License Invalid when Loaded from embedded resource stream

We are trying to load the license file we purchased. We want to load it like we do for other licenses, such as Aspose.Font.NET, where we have it as an embedded resource and load it from a stream.

This is how we are trying to do it and it tells us the license is invalid when we do.

using var stream = typeof(AppSettings).Assembly.GetManifestResourceStream("GroupDocs.Comparison.NET.lic");

new GroupDocs.Comparison.License().SetLicense(stream);

1 Like

@nristoTaylor

We cannot reproduce this issue at our end. Please share following details and we’ll investigate this scenario:

  • Do you face this issue with .NET 6.0?
  • API version that you are using (e.g. 20.10, 22.3)
  • Sample console application using that issue could be reproduced
  • OS details (e.g. name, version)