mirror of
https://github.com/fergalmoran/Readarr.git
synced 2025-12-30 21:39:12 +00:00
Added implementation of IRuntimeProvider for Windows
This commit is contained in:
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>
|
||||
<Compile Include="DiskProvider.cs" />
|
||||
<Compile Include="DotNetRuntimeProvider.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user