ISCSI_IP_Address WMI Class
The ISCSI_IP_Address class provides a definition of IP addresses that is independent of the version of the IP protocol that is in use. This class is defined in Common.mof.
class ISCSI_IP_Address {
[WmiDataId(1), read, write, DisplayName("Address Format")
: amended, description("Type of address specified.
It can be text: a DNS or dotted address or it can be
a binary ipv4 or ipv6 address") : amended,
Values{ "Text Address", "IpV4 Address",
"IpV6 Address", "Empty Address"},
ValueMap{"0", "1", "2", "3"}]
#define ISCSIIPADDRESSTYPE uint32
ISCSIIPADDRESSTYPE Type;
[WmiDataId(2), read, write, DisplayInHex,
DisplayName("IPV4 Address"): amended,
description("If IPV4 Address is specified as the
Address Format then this contains the binary IPv4
ip address") : amended]
uint32 IpV4Address;
[WmiDataId(3), DisplayName("IPV6 Address"): amended,
read, write, description("If IPV6 Address is
specified as the Address Format then this contains
the binary IPv6 ip address") : amended]
uint8 IpV6Address[16];
[WmiDataId(4), read, write,
DisplayName("IPV6 Flow Information") : amended,
description("IPV6 flow information") : amended]
uint32 IpV6FlowInfo;
[WmiDataId(5), read, write,
DisplayName("IPV6 Scope Id") : amended,
description("IPV6 scope id") : amended]
uint32 IpV6ScopeId;
[WmiDataId(6), read, write,
DisplayName("Text Address") : amended,
description("Text address, either a DNS address or
dotted address") : amended,
MaxLen(MAX_ISCSI_TEXT_ADDRESS_LEN)]
string TextAddress;
};
When the WMI tool suite compiles the preceding class definition, it produces the ISCSI_IP_Address data structure.