ITcpipSocket2::HostName
Description
Specifies the host name of the device. If no host name is available, this attribute returns an empty string.
VB Prototype
Dim value As String
value = object.HostName
C++ Prototype
HRESULT get_HostName(
BSTR* HostName
);
Return Value
Refer to the table of return codes.
See Also
Address, Close, ComponentVersion, Flush,GetAttribute, HardwareInterfaceName, HardwareInterfaceNumber, HardwareInterfaceType, HostName, Init, KeepAlive, LockRsrc, LastStatus, , LockState, NoDelay, OptionString, Port, , ProgID, ResourceName, ServerCertificate, ServerCertificateExpirationDate, ServerCertificateIsPerpetual, ServerCertificateIssuerName, ServerCertificateSubjectName, SessionType, SetAttribute, SetBufferSize, SoftwareManufacturerID, SoftwareManufacturerName, SpecVersion, Timeout, TlsCipherSuite , UnlockRsrc, ITcpipSocket2 Overview