C# 클래스 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.

파일 보기 프로젝트 열기: engina/PLCNetLib 1 사용 예제들

공개 메소드들

메소드 설명
Finder ( ) : System
ReleasePorts ( ) : void
Scan ( ) : void

비공개 메소드들

메소드 설명
GetIP ( string mac ) : IPAddress
ReceiveCallback ( IAsyncResult ar ) : void

메소드 상세

Finder() 공개 메소드

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

ReleasePorts() 공개 메소드

public ReleasePorts ( ) : void
리턴 void

Scan() 공개 메소드

public Scan ( ) : void
리턴 void