Initial commit

Conversion of the UWP app into a .NET Core app for portability. Requires .NET Core 2.0 and C# 7.1
This commit is contained in:
2018-03-18 23:04:15 -05:00
commit 97c4febdf5
19 changed files with 1896 additions and 0 deletions

22
Test/Program.cs Normal file
View File

@ -0,0 +1,22 @@
using System.Threading.Tasks;
namespace Test
{
class Program
{
static async Task Main(string[] args)
{
var servers = await ScreenLogicConnect.FindUnits.Find();
if (servers != null)
{
foreach (var server in servers)
{
var connection = new ScreenLogicConnect.UnitConnection();
await connection.ConnectTo(server);
var status = connection.GetPoolStatus();
break;
}
}
}
}
}

16
Test/Test.csproj Normal file
View File

@ -0,0 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.0</TargetFramework>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<LangVersion>latest</LangVersion>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\ScreenLogicConnect.csproj" />
</ItemGroup>
</Project>