Options


Object Hierarchy:

Object hierarchy for Options

Description:

[ Compact ]
public class Options

This class contains all the startup options for Tox.

Example: Create options and use in core

  using ToxCore;
public static int main (string[] args) {
// Create the new option instance
ErrOptionsNew err_options;
var options = new Options(out err_options);
assert(err_options == ErrOptionsNew.OK);

// Set some options
options.ipv6_enabled = false;
options.udp_enabled = false;

// Initialize the tox instance with the options
ErrNew err_tox;
var tox = new Tox(options, out err_tox);
assert(err_tox == ErrNew.OK);

return 0;
}


Namespace: ToxCore
Package: toxcore

Content:

Properties:

Creation methods:

Methods:

Fields: