IW4M-Admin/Integrations/Source/RConClientFactory.cs
2021-07-11 17:26:30 -05:00

14 lines
346 B
C#

using System.Net;
using Integrations.Source.Interfaces;
using RconSharp;
namespace Integrations.Source
{
public class RConClientFactory : IRConClientFactory
{
public RconClient CreateClient(IPEndPoint ipEndPoint)
{
return RconClient.Create(ipEndPoint.Address.ToString(), ipEndPoint.Port);
}
}
}