Düzenle

Aracılığıyla paylaş


NSStreamSocksOptions Constructor

Definition

Constructs an empty instance of the settings.

public NSStreamSocksOptions ();

Remarks

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

Applies to