Edit

Share via


NSStream.SocksOptions Property

Definition

Settings for using a SOCKS proxy server.

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

Property Value

.

Remarks

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

Applies to