C# Class Opc.Ua.Configuration.HostEnumerator

Enumerates the hosts available on the network.
ファイルを表示 Open project: OPCFoundation/UA-.NET Class Usage Examples

Public Methods

Method Description
HostEnumerator ( ) : System

Creates the object.

Start ( string domain ) : void

Starts enumerating the hosts.

Stop ( ) : void

Stops enumerating the hosts.

Private Methods

Method Description
NetApiBufferFree ( IntPtr buffer ) : int
NetServerEnum ( IntPtr servername, uint level, IntPtr &bufptr, int prefmaxlen, int &entriesread, int &totalentries, uint servertype, [ domain, IntPtr resume_handle ) : int
OnEnumerate ( object state ) : void

Enumerates computers on the local network.

Method Details

HostEnumerator() public method

Creates the object.
public HostEnumerator ( ) : System
return System

Start() public method

Starts enumerating the hosts.
public Start ( string domain ) : void
domain string
return void

Stop() public method

Stops enumerating the hosts.
public Stop ( ) : void
return void