C# Class WhatsNetwork, whatsapp-desktop-client

Afficher le fichier Open project: sambulosenda/whatsapp-desktop-client Class Usage Examples

Méthodes publiques

Свойство Type Description
socket Socket

Méthodes publiques

Méthode Description
Connect ( ) : void
Disconenct ( ) : void
ReadData ( ) : byte[]
SendData ( byte data ) : void
SendData ( string data ) : void
WhatsNetwork ( string whatsHost, int port, int timeout = 2000 ) : System

Private Methods

Méthode Description
Socket_read ( int length ) : byte[]
Socket_send ( byte data ) : void
Socket_send ( string data, int length, int flags ) : void

Method Details

Connect() public méthode

public Connect ( ) : void
Résultat void

Disconenct() public méthode

public Disconenct ( ) : void
Résultat void

ReadData() public méthode

public ReadData ( ) : byte[]
Résultat byte[]

SendData() public méthode

public SendData ( byte data ) : void
data byte
Résultat void

SendData() public méthode

public SendData ( string data ) : void
data string
Résultat void

WhatsNetwork() public méthode

public WhatsNetwork ( string whatsHost, int port, int timeout = 2000 ) : System
whatsHost string
port int
timeout int
Résultat System

Property Details

socket public_oe property

public Socket socket
Résultat Socket