GroupDocs.Total for .NET 24.12 Release Notes

Issues fixed in this release

KeyCategorySummary
TOTALNET‑164Feature[Total] Add a method to set the license for all GroupDocs products at once
TOTALNET‑177Enhancement[Total] Remove System.Buffers and System.Text.Encoding.CodePages dependencies from GroupDocs.Total.NETFramework package
TOTALNET‑166Fix[Comparison] Experiencing an issue with the group document comparison
TOTALNET‑167Fix[Viewer] Evaluation text when using Viewer for OneNote in .NET

Products included in this release

ProductVersionRelease Notes
GroupDocs.Conversion for .NET24.12Release notes
GroupDocs.Viewer for .NET24.12Release notes
GroupDocs.Comparison for .NET24.12Release notes
GroupDocs.Watermark for .NET24.12Release notes
GroupDocs.Merger for .NET24.12Release notes
GroupDocs.Metadata for .NET24.12Release notes
GroupDocs.Search for .NET24.12Release notes
GroupDocs.Assembly for .NET24.12Release notes
GroupDocs.Signature for .NET24.12Release notes
GroupDocs.Editor for .NET24.12Release notes
GroupDocs.Parser for .NET24.12Release notes
GroupDocs.Redaction for .NET24.10Release notes
GroupDocs.Annotation for .NET24.12Release notes
GroupDocs.Classification for .NET21.1Release notes

Public API Changes

A new static class License has been added to the GroupDocs.Total namespace with two methods.

Method 1: Set License from Stream

This method sets the license for all GroupDocs components simultaneously.

/// <summary>
/// Licenses all GroupDocs components.
/// </summary>
/// <param name="licenseStream">The license stream.</param>
/// <example>
/// The following example demonstrates how to set a license
/// using a stream of the license file.
/// <code lang="C#">
/// using (FileStream licenseStream = File.OpenRead("GroupDocs.Total.lic"))
/// {
///     License.SetLicense(licenseStream);
/// }
/// </code>
/// </example>
/// <exception cref="ArgumentNullException">Thrown when <paramref name="licenseStream"/> is null.</exception>
public static void SetLicense(Stream licenseStream)

The following code snippet demonstrates how to use this method:

// Open license stream
using (FileStream licenseStream = File.OpenRead("GroupDocs.Total.lic"))
{
    // Set the license
    License.SetLicense(licenseStream);
}

Method 2: Set License from File

This method sets the license using a file path.

/// <summary>
/// Licenses all GroupDocs components.
/// </summary>
/// <param name="licensePath">The license file path.</param>
/// <example>
/// The following example demonstrates how to set a license 
/// using a path to the license file.
/// <code lang="C#">
/// string licensePath = "GroupDocs.Total.lic";
/// License.SetLicense(licensePath);
/// </code>
/// </example>
/// <exception cref="ArgumentException">Thrown when <paramref name="licensePath"/> is null or an empty string.</exception>
public static void SetLicense(string licensePath)

The following code snippet demonstrates how to use this method:

// Set license path
string licensePath = "GroupDocs.Total.lic";

// Set the license by path
License.SetLicense(licensePath);

Learn more about licensing in the Licensing and evaluation documentation topic.

How to Download

The packages can be downloaded from NuGet or via direct download from this website.

  • GroupDocs.Total
    - .NET 6.0 assembly.
    - .NET Standard 2.0 in versions prior to 24.9.

Additional Resources

Feedback

We value your feedback! If you have any questions, issues, or suggestions, feel free to reach out to us through our Free Support Forum. Our team will be happy to assist you and answer any questions you may have.