mirror of
https://github.com/ekinnee/SharpCAT.git
synced 2026-04-21 06:13:40 +00:00
Add console based test app.
Changeup on namespaces. Experimenting with events.
This commit is contained in:
parent
978c15b951
commit
b3c5c52965
10 changed files with 227 additions and 20 deletions
24
SharpCATConsole/Program.cs
Normal file
24
SharpCATConsole/Program.cs
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using SharpCATLib;
|
||||
|
||||
namespace SharpCATConsole
|
||||
{
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
SharpCAT sharpCAT = new SharpCAT();
|
||||
Console.WriteLine("Ports found: ");
|
||||
foreach (var port in sharpCAT.PortNames)
|
||||
{
|
||||
Console.WriteLine(port);
|
||||
}
|
||||
|
||||
Console.ReadKey();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue