mirror of
https://github.com/Radarr/Radarr
synced 2026-05-09 10:13:28 +02:00
Added implementation of IRuntimeProvider for Windows
This commit is contained in:
parent
a4500606a9
commit
0d112075cb
2 changed files with 14 additions and 0 deletions
13
src/NzbDrone.Windows/DotNetRuntimeProvider.cs
Normal file
13
src/NzbDrone.Windows/DotNetRuntimeProvider.cs
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
using System;
|
||||||
|
using NzbDrone.Common.Processes;
|
||||||
|
|
||||||
|
namespace NzbDrone.Windows
|
||||||
|
{
|
||||||
|
public class DotNetRuntimeProvider : IRuntimeProvider
|
||||||
|
{
|
||||||
|
public String GetVersion()
|
||||||
|
{
|
||||||
|
return Environment.Version.ToString();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -63,6 +63,7 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="DiskProvider.cs" />
|
<Compile Include="DiskProvider.cs" />
|
||||||
|
<Compile Include="DotNetRuntimeProvider.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue