/// <summary> /// Applies GroupDocs.Comparison license using stream input /// </summary> public static void ApplyLicense(Stream licenseStream) { // Instantiate GroupDocs.Comparison license GroupDocs.Comparison.Common.License.License license = new GroupDocs.Comparison.Common.License.License(); // Apply GroupDocs.Comparison license using license file stream license.SetLicense(licenseStream); }
//ExEnd:getComparison //ExStart:ApplyLicense /// <summary> /// Applies GroupDocs.Comparison license /// </summary> public static void ApplyLicense(string filepath) { // Instantiate GroupDocs.Comparison license GroupDocs.Comparison.Common.License.License license = new GroupDocs.Comparison.Common.License.License(); // Apply GroupDocs.Comparison license using license path license.SetLicense(filepath); }