using System; using System.Threading.Tasks; namespace LogoForceTestApp.Services { public interface IScanService { void Close(); Task InitAsync(string ip, int port); string Read(string command); Task ReadAsync(string command); event EventHandler ScanCompleted; } }