NSStreamSocksOptions 构造函数

定义

构造设置的空实例。

public NSStreamSocksOptions ();

注解

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

适用于