CogIOTCPIPInfo Apply Method Cognex VisionPro 9.10
Apply new host and port number.

Namespace: Cognex.VisionPro.QuickBuild.IO
Assembly: Cognex.VisionPro.QuickBuild.IO (in Cognex.VisionPro.QuickBuild.IO.dll) Version: 79.0.0.0 (79.0.0.0)
Syntax

public void Apply(
	CogIOTCPIP DeviceMode mode,
	string host,
	int portNumber
)

Parameters

mode
Type: Cognex.VisionPro.QuickBuild.Implementation.Internal CogIOTCPIP DeviceMode
Either server or client.
host
Type: System String
The new host.
portNumber
Type: System Int32
The new port number.
See Also