C# Class ENDA.PLCNetLib.Finder

This helper class helps you find IP addresses of the PLC devices on your network by their serial numbers (MAC) in a non-blocking manner.

Afficher le fichier Open project: engina/PLCNetLib Class Usage Examples

Méthodes publiques

Méthode Description
Finder ( ) : System
ReleasePorts ( ) : void
Scan ( ) : void

Private Methods

Méthode Description
GetIP ( string mac ) : IPAddress
ReceiveCallback ( IAsyncResult ar ) : void

Method Details

Finder() public méthode

Thrown when scanner cannot bind to local port 3802. Can happen when another process is using that local port.
public Finder ( ) : System
Résultat System

ReleasePorts() public méthode

public ReleasePorts ( ) : void
Résultat void

Scan() public méthode

public Scan ( ) : void
Résultat void