CogEthernetPortSettings HostName Property Cognex VisionPro
Gets or sets the host name.

Namespace: Cognex.VisionPro.Comm
Assembly: Cognex.VisionPro.Comm (in Cognex.VisionPro.Comm.dll) Version: 65.1.0.0
Syntax

public string HostName { get; set; }

Property Value

Type: String
Events

Event TypeReason
ICogChangedEvent Changed

Raised when this property changes.

The following state flag may be affected:

  • SfHostName
Exceptions

ExceptionCondition
ArgumentException Thrown if the hostname contains more than 63 characters or the hostname contains illegal characters.
See Also