Skip to content

Commit f24f6e6

Browse files
committed
Update Particular.Licensing.Sources
1 parent 0781e68 commit f24f6e6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Directory.Packages.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<PackageVersion Include="NUnit.Analyzers" Version="4.4.0" />
5252
<PackageVersion Include="NUnit3TestAdapter" Version="4.6.0" />
5353
<PackageVersion Include="Particular.Approvals" Version="2.0.0" />
54-
<PackageVersion Include="Particular.Licensing.Sources" Version="5.1.0" />
54+
<PackageVersion Include="Particular.Licensing.Sources" Version="6.0.0" />
5555
<PackageVersion Include="Particular.LicensingComponent.Report" Version="1.0.0" />
5656
<PackageVersion Include="Polly.Core" Version="8.5.0" />
5757
<PackageVersion Include="PropertyChanged.Fody" Version="4.1.0" />
@@ -80,8 +80,8 @@
8080
<PackageVersion Include="System.Net.Http" Version="4.3.4" />
8181
<PackageVersion Include="System.Private.Uri" Version="4.3.2" />
8282
<PackageVersion Include="System.Runtime.Caching" Version="8.0.1" />
83-
<PackageVersion Include="System.Security.Cryptography.Pkcs" Version="8.0.1" />
8483
<PackageVersion Include="System.Security.Cryptography.ProtectedData" Version="8.0.0" />
84+
<PackageVersion Include="System.Security.Cryptography.Xml" Version="8.0.2" />
8585
<PackageVersion Include="System.Text.Json" Version="8.0.5" />
8686
<PackageVersion Include="System.Text.RegularExpressions" Version="4.3.1" />
8787
</ItemGroup>

src/ServiceControl.LicenseManagement/LicenseManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public static bool TryImportLicense(string licenseFile, out string errorMessage)
3939
{
4040
var licenseText = NonBlockingReader.ReadAllTextWithoutLocking(licenseFile);
4141
var machineLevelLicenseLocation = LicenseFileLocationResolver.GetPathFor(Environment.SpecialFolder.CommonApplicationData);
42-
new FilePathLicenseStore().StoreLicense(machineLevelLicenseLocation, licenseText);
42+
FilePathLicenseStore.StoreLicense(machineLevelLicenseLocation, licenseText);
4343
}
4444
catch (Exception)
4545
{

0 commit comments

Comments
 (0)