22 lines
425 B
C#
22 lines
425 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Text;
|
|
|
|
namespace DearFTP.Connection
|
|
{
|
|
interface IDataConnection
|
|
{
|
|
Stream Stream { get; }
|
|
int Port { get; }
|
|
bool IsTslProtected { get; }
|
|
bool IsAvailable { get; }
|
|
|
|
void Create();
|
|
void AcceptClient();
|
|
void ActivateTls();
|
|
void DesactivateTls();
|
|
void Close();
|
|
}
|
|
}
|