LocalHost Property

The name of the local host.

Syntax

ANSI (Cross Platform)
char* GetLocalHost();

Unicode (Windows)
LPWSTR GetLocalHost();
@property (nonatomic,readonly,assign,getter=localHost) NSString* localHost;
- (NSString*)localHost;
#define PID_IPINFO_LOCALHOST 33

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_IPInfo_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

Default Value

""

Remarks

This property contains the name of the local host as obtained by the gethostname() system call, or if the user has assigned an IP address, it will contain the value of that address.

This property is read-only.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 C++ Edition - Version 20.0 [Build 8307]