GroupDocs.Total for .NET 24.12 Release Notes
Issues fixed in this release
Key | Category | Summary |
---|---|---|
TOTALNET‑164 | Feature | [Total] Add a method to set the license for all GroupDocs products at once |
TOTALNET‑177 | Enhancement | [Total] Remove System.Buffers and System.Text.Encoding.CodePages dependencies from GroupDocs.Total.NETFramework package |
TOTALNET‑166 | Fix | [Comparison] Experiencing an issue with the group document comparison |
TOTALNET‑167 | Fix | [Viewer] Evaluation text when using Viewer for OneNote in .NET |
Products included in this release
Product | Version | Release Notes |
---|---|---|
GroupDocs.Conversion for .NET | 24.12 | Release notes |
GroupDocs.Viewer for .NET | 24.12 | Release notes |
GroupDocs.Comparison for .NET | 24.12 | Release notes |
GroupDocs.Watermark for .NET | 24.12 | Release notes |
GroupDocs.Merger for .NET | 24.12 | Release notes |
GroupDocs.Metadata for .NET | 24.12 | Release notes |
GroupDocs.Search for .NET | 24.12 | Release notes |
GroupDocs.Assembly for .NET | 24.12 | Release notes |
GroupDocs.Signature for .NET | 24.12 | Release notes |
GroupDocs.Editor for .NET | 24.12 | Release notes |
GroupDocs.Parser for .NET | 24.12 | Release notes |
GroupDocs.Redaction for .NET | 24.10 | Release notes |
GroupDocs.Annotation for .NET | 24.12 | Release notes |
GroupDocs.Classification for .NET | 21.1 | Release 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.
- GroupDocs.Total.NETFramework- .NET Framework assembly.
- .NET Framework 4.6.2 and later.
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.