共用方式為


NSStreamSocksOptions 建構函式

定義

建構設定的空白實例。

public NSStreamSocksOptions ();

備註

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

適用於