Compartir a través de


NSStream.SocksOptions Propiedad

Definición

Configuración para usar un servidor proxy SOCKS.

public Foundation.NSStreamSocksOptions SocksOptions { get; set; }
member this.SocksOptions : Foundation.NSStreamSocksOptions with get, set

Valor de propiedad

.

Comentarios

myStream.SocksOptions = new NSStreamSocksOptions () {
    HostName = "socks.xamarin.com",
    HostPort = 12765,
    Username = settings.User,
    Passowrd = settings.Password,
    Version  = 5 /* SOCKS5 */
};

Se aplica a