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

14
ExtensionMethods.cs Normal file
View File

@ -0,0 +1,14 @@
using System;
using System.Net.Sockets;
namespace ScreenLogicConnect
{
static class ExtensionMethods
{
public static void SendHLMessage(this NetworkStream stream, Messages.HLMessage msg)
{
var arr = msg.asByteArray();
stream.Write((byte[])(Array)arr, 0, arr.Length);
}
}
}