2019-03-08 20:04:43 +01:00
|
|
|
|
using SharpCATLib;
|
|
|
|
|
|
using System;
|
2019-03-07 14:25:09 +01:00
|
|
|
|
|
|
|
|
|
|
namespace SharpCATConsole
|
|
|
|
|
|
{
|
2019-03-08 20:04:43 +01:00
|
|
|
|
internal class Program
|
2019-03-07 14:25:09 +01:00
|
|
|
|
{
|
2019-03-08 20:04:43 +01:00
|
|
|
|
private static void Main(string[] args)
|
2019-03-07 14:25:09 +01:00
|
|
|
|
{
|
|
|
|
|
|
SharpCAT sharpCAT = new SharpCAT();
|
2019-03-08 20:04:43 +01:00
|
|
|
|
|
2019-03-07 14:25:09 +01:00
|
|
|
|
Console.WriteLine("Ports found: ");
|
|
|
|
|
|
foreach (var port in sharpCAT.PortNames)
|
|
|
|
|
|
{
|
|
|
|
|
|
Console.WriteLine(port);
|
|
|
|
|
|
}
|
2019-03-08 20:04:43 +01:00
|
|
|
|
|
2019-03-07 14:25:09 +01:00
|
|
|
|
Console.ReadKey();
|
|
|
|
|
|
}
|
2019-03-08 19:23:02 +01:00
|
|
|
|
|
|
|
|
|
|
private static string SharpCAT_PortsSelected(string[] portnames)
|
|
|
|
|
|
{
|
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
|
}
|
2019-03-07 14:25:09 +01:00
|
|
|
|
}
|
2019-03-08 20:04:43 +01:00
|
|
|
|
}
|