Freigeben über


NSStream.SocksOptions Eigenschaft

Definition

Einstellungen für die Verwendung eines SOCKS-Proxyservers.

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

Eigenschaftswert

.

Hinweise

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

Gilt für: