C# Class SharpTox.Core.ToxOptions

Represents settings to be used by an instance of tox.
Mostrar archivo Open project: hexafluoride/Detox Class Usage Examples

Private Properties

Property Type Description
ToxOptions System

Public Methods

Method Description
ToxOptions ( bool ipv6Enabled, ToxProxyType type, string proxyAddress, int proxyPort ) : System

Initializes a new instance of the ToxOptions struct.

ToxOptions ( bool ipv6Enabled, bool udpEnabled ) : System

Initializes a new instance of the ToxOptions struct.

operator ( ) : bool

Private Methods

Method Description
ToxOptions ( ToxOptionsStruct options ) : System

Method Details

ToxOptions() public method

Initializes a new instance of the ToxOptions struct.
public ToxOptions ( bool ipv6Enabled, ToxProxyType type, string proxyAddress, int proxyPort ) : System
ipv6Enabled bool Whether or not IPv6 should be enabled.
type ToxProxyType The type of proxy we want to connect to.
proxyAddress string The IP address or DNS name of the proxy to be used.
proxyPort int The port to use to connect to the proxy.
return System

ToxOptions() public method

Initializes a new instance of the ToxOptions struct.
public ToxOptions ( bool ipv6Enabled, bool udpEnabled ) : System
ipv6Enabled bool Whether or not IPv6 should be enabled.
udpEnabled bool Whether or not UDP should be enabled.
return System

operator() public static method

public static operator ( ) : bool
return bool