XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFEExtension.NetCore.ServerInteractive

[DLL] Server interaction extension, including user identity verification and querying in conjunction with AutoConfig

公开
关注 0 Fork 0 Star 0
UTF-8
using System.Globalization;
using XFEExtension.NetCore.ServerInteractive.Attributes;
using XFEExtension.NetCore.ServerInteractive.Implements.CoreService;

namespace XFEExtension.NetCore.ServerInteractive.Utilities.Server.Services.CoreService;

/// <summary>
/// 连接校验服务
/// </summary>
public partial class ConnectService : ServerCoreStandardServiceBase
{
    /// <summary>
    /// 连接检查入口点
    /// </summary>
    [EntryPoint("check_connect")]
    public async Task Connect()
    {

        Console.Write("检查连接");
        await Close(DateTime.Now.ToString(CultureInfo.CurrentCulture));
    }
}