telnet samples
This commit is contained in:
16
MySolution/ConsoleApp/TelnetSamples/ITelnetClinet.cs
Normal file
16
MySolution/ConsoleApp/TelnetSamples/ITelnetClinet.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ConsoleApp.TelnetSamples
|
||||
{
|
||||
public interface ITelnetClient
|
||||
{
|
||||
string Connect(string ip, int port = 23);
|
||||
string Read();
|
||||
string SendCommand(string command);
|
||||
void Close();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user