Files
duplicati/proprietary/LoaderHelper/Configuration.cs
T
Kenneth Skovhede a4b33e5d16 Implemented Restore feature and refactored a bit.
Added a free tier for the Office 365 module.
2026-01-20 10:36:37 +01:00

24 lines
626 B
C#

// Copyright (c) 2026 Duplicati Inc. All rights reserved.
using Duplicati.Library.Utility;
using Duplicati.Proprietary.LicenseChecker;
namespace Duplicati.Proprietary.LoaderHelper;
/// <summary>
/// Configuration support for proprietary modules
/// </summary>
public static class Configuration
{
public static string[] LicensedAPIExtensions => LicensedAPIExtensionsLazy.Value;
private static Lazy<string[]> LicensedAPIExtensionsLazy = new(() =>
new string?[] {
LicenseHelper.AvailableOffice365FeatureSeats > 0 ? "office365" : null
}
.WhereNotNull()
.ToArray()
);
}