Added copyright

This commit is contained in:
2025-08-21 19:10:42 +02:00
parent 32c2491d25
commit 6d2405502f
14 changed files with 44 additions and 5 deletions

View File

@@ -1,9 +1,10 @@
using EonaCat.Connections;
using EonaCat.Connections.Models;
using System.Text;
using EonaCat.Connections.Models;
namespace EonaCat.Connections.Client.Example
{
// This file is part of the EonaCat project(s) which is released under the Apache License.
// See the LICENSE file or go to https://EonaCat.com/license for full license details.
public class Program
{
private static NetworkClient _client;
@@ -16,6 +17,7 @@ namespace EonaCat.Connections.Client.Example
{
Console.Write("Enter message to send (or 'exit' to quit): ");
var message = Console.ReadLine();
if (!string.IsNullOrEmpty(message) && message.Equals("exit", StringComparison.OrdinalIgnoreCase))
{
await _client.DisconnectAsync().ConfigureAwait(false);