CogIOTCPIPInfo Apply Method Cognex VisionPro 9.25 SR1
Apply new host and port number.

Namespace: Cognex.VisionPro.QuickBuild.IO
Assembly: Cognex.VisionPro.QuickBuild.IO (in Cognex.VisionPro.QuickBuild.IO.dll) Version: 93.1.0.0 (93.1.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