C# Class socks5.Socks5Client.Socks

Afficher le fichier Open project: ThrDev/Socks5 Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

DoSocksAuth() public static méthode

public static DoSocksAuth ( Socks5Client p, string Username, string Password ) : bool
p Socks5Client
Username string
Password string
Résultat bool

Greet() public static méthode

public static Greet ( Client client, IList supportedAuthTypes = null ) : AuthTypes
client socks5.TCP.Client
supportedAuthTypes IList
Résultat AuthTypes

SendLogin() public static méthode

public static SendLogin ( Client cli, string Username, string Password ) : int
cli socks5.TCP.Client
Username string
Password string
Résultat int

SendRequest() public static méthode

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
Résultat socks5.Socks.SocksError