mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-02-15 20:54:46 +00:00
Started class for server, but did not get far yet
This commit is contained in:
25
Pepperdash Core/Pepperdash Core/Comm/DynamicTCPServer.cs
Normal file
25
Pepperdash Core/Pepperdash Core/Comm/DynamicTCPServer.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using Crestron.SimplSharp;
|
||||
|
||||
namespace PepperDash_Core.Comm
|
||||
{
|
||||
public class DynamicTCPServer
|
||||
{
|
||||
public bool Secure { get; set; }
|
||||
public ushort uSecure
|
||||
{
|
||||
set
|
||||
{
|
||||
if (value == 1)
|
||||
Secure = true;
|
||||
else if (value == 0)
|
||||
Secure = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user