Hi, I an trying to load license from resources using an unsigned char* buffer but it throws the following exception System::ExceptionWrapper<System::Details_NullReferenceException> on second line.
auto m_Arr = MakeArray<uint8_t>(size, data);
auto m_StreamIn = MakeObject<System::IO::MemoryStream>(m_Arr, false);
auto m_License = MakeObject<Aspose::Pdf::License>();
data is unsigned char* containing license content
If i try to write the buffer in a temporary file and then load that file as license using the path works.
I would like to know if there is any solution to load license directly from buffer.
(I am using this version of aspose https://downloads.aspose.com/pdf/cpp/new-releases/aspose.pdf-for-c---19.11/ on 64x)