C# 클래스 socks5.Socks5Client.Socks

파일 보기 프로젝트 열기: ThrDev/Socks5 1 사용 예제들

공개 메소드들

메소드 설명
DoSocksAuth ( Socks5Client p, string Username, string Password ) : bool
Greet ( Client client, IList supportedAuthTypes = null ) : AuthTypes
SendLogin ( Client cli, string Username, string Password ) : int
SendRequest ( Client cli, SocksEncryption enc, string ipOrDomain, int port ) : socks5.Socks.SocksError

메소드 상세

DoSocksAuth() 공개 정적인 메소드

public static DoSocksAuth ( Socks5Client p, string Username, string Password ) : bool
p Socks5Client
Username string
Password string
리턴 bool

Greet() 공개 정적인 메소드

public static Greet ( Client client, IList supportedAuthTypes = null ) : AuthTypes
client socks5.TCP.Client
supportedAuthTypes IList
리턴 AuthTypes

SendLogin() 공개 정적인 메소드

public static SendLogin ( Client cli, string Username, string Password ) : int
cli socks5.TCP.Client
Username string
Password string
리턴 int

SendRequest() 공개 정적인 메소드

public static SendRequest ( Client cli, SocksEncryption enc, string ipOrDomain, int port ) : socks5.Socks.SocksError
cli socks5.TCP.Client
enc socks5.Encryption.SocksEncryption
ipOrDomain string
port int
리턴 socks5.Socks.SocksError