C# Class SharpTox.Core.ToxKey

Represents a 32 byte long tox key (either public or secret).
Mostrar archivo Open project: hexafluoride/Detox Class Usage Examples

Public Methods

Method Description
Equals ( object obj ) : bool
GetBytes ( ) : byte[]

Retrieves a byte array of the tox key.

GetHashCode ( ) : int
GetString ( ) : string

Retrieves a string of the tox key.

ToString ( ) : string
ToxKey ( ToxKeyType type, byte key ) : System.Linq

Initializes a new instance of the ToxKey class

ToxKey ( ToxKeyType type, string key ) : System.Linq

Initializes a new instance of the ToxKey class

operator ( ) : bool

Method Details

Equals() public method

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

GetBytes() public method

Retrieves a byte array of the tox key.
public GetBytes ( ) : byte[]
return byte[]

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetString() public method

Retrieves a string of the tox key.
public GetString ( ) : string
return string

ToString() public method

public ToString ( ) : string
return string

ToxKey() public method

Initializes a new instance of the ToxKey class
public ToxKey ( ToxKeyType type, byte key ) : System.Linq
type ToxKeyType
key byte
return System.Linq

ToxKey() public method

Initializes a new instance of the ToxKey class
public ToxKey ( ToxKeyType type, string key ) : System.Linq
type ToxKeyType
key string
return System.Linq

operator() public static method

public static operator ( ) : bool
return bool