C# Class SharpTox.Core.ToxNode

Represents a tox node.
Show file Open project: hexafluoride/Detox Class Usage Examples

Public Methods

Method Description
Equals ( object obj ) : bool
GetHashCode ( ) : int
GetNodes ( ) : SharpTox.Core.ToxNode[]

Parses and returns an array of nodes grabbed from https://wiki.tox.im/Nodes. Only use this if you're desperate.

ToxNode ( string address, int port, ToxKey publicKey ) : System.Collections.Generic

Initializes a new instance of the ToxNode class.

operator ( ) : bool

Method Details

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetNodes() public static method

Parses and returns an array of nodes grabbed from https://wiki.tox.im/Nodes. Only use this if you're desperate.
public static GetNodes ( ) : SharpTox.Core.ToxNode[]
return SharpTox.Core.ToxNode[]

ToxNode() public method

Initializes a new instance of the ToxNode class.
public ToxNode ( string address, int port, ToxKey publicKey ) : System.Collections.Generic
address string
port int
publicKey ToxKey
return System.Collections.Generic

operator() public static method

public static operator ( ) : bool
return bool