C# Class SharpTox.Core.ToxKey

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

Méthodes publiques

Méthode 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 méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetBytes() public méthode

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

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

GetString() public méthode

Retrieves a string of the tox key.
public GetString ( ) : string
Résultat string

ToString() public méthode

public ToString ( ) : string
Résultat string

ToxKey() public méthode

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

ToxKey() public méthode

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

operator() public static méthode

public static operator ( ) : bool
Résultat bool