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.

显示文件 Open project: engina/PLCNetLib Class Usage Examples

Public Methods

Method Description
Finder ( ) : System
ReleasePorts ( ) : void
Scan ( ) : void

Private Methods

Method Description
GetIP ( string mac ) : IPAddress
ReceiveCallback ( IAsyncResult ar ) : void

Method Details

Finder() public method

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

ReleasePorts() public method

public ReleasePorts ( ) : void
return void

Scan() public method

public Scan ( ) : void
return void