AdapterStatus Property

Returns the current status of the adapter.

Syntax

ANSI (Cross Platform)
char* GetAdapterStatus();

Unicode (Windows)
LPWSTR GetAdapterStatus();
@property (nonatomic,readonly,assign,getter=adapterStatus) NSString* adapterStatus;
- (NSString*)adapterStatus;
#define PID_IPINFO_ADAPTERSTATUS 20

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

Default Value

""

Remarks

This proprety holds the current status of the adapter specified by AdapterIndex.

Possible values are as follows:

  • "Up"
  • "Down"
  • "Testing"
  • "Unknown"
  • "Dormant"
  • "NotPresent"
  • "LowerLayerDown"

This property is not applicable when UseOldApi is true.

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]