Search: 
Available in: IP*WORKS!
Ipinfo Class
IPInfo Component [IP*Works! V8]

Properties   Methods   Events   Configuration Settings  

The IPInfo component is used to resolve host names to host addresses and vice-versa using asynchronous DNS. The component provides access to other TCP/IP database functions as well.

NOTE: What follows is a very short description of the component interfaces. For more information, please consult the help files that come with the respective package.

Remarks

The IPInfo component operates asynchronously. Requests are posted to the component by setting a property like HostName or HostAddress and then waiting for the RequestComplete event. The RequestId property identifies the request.

Up to 100 simultaneous requests can be queued at any moment. PendingRequests shows the number of pending requests, and may also be used to adjust the size of the queue (by dumping a number of the pending requests).

Property List


The following is the full list of the properties of the component with short descriptions. Click on the links for complete descriptions.

ARPProxy Shows whether the local computer is acting as an ARP proxy.
AdapterCount The number of adapters in the system.
AdapterDHCPEnabled Shows whether or not the adapter identified by AdapterIndex has DHCP Enabled.
AdapterDHCPServer The DHCP server of the adapter identified by AdapterIndex.
AdapterDNSServers The DNS server list for the adapter identified by AdapterIndex.
AdapterDescription The description of the adapter identified by AdapterIndex.
AdapterDeviceIndex The system index of the adapter identified by AdapterIndex.
AdapterGateway The default gateway of the adapter identified by AdapterIndex.
AdapterIPAddress The IP address of the adapter identified by AdapterIndex.
AdapterIPv6Address The IPv6 address of the adapter identified by AdapterIndex.
AdapterIndex Sets the current adapter.
AdapterLeaseExpires The expiration date and time of the lease obtained by the adapter identified by AdapterIndex.
AdapterLeaseObtained The date and time of when the current lease was obtained by the adapter identified by AdapterIndex.
AdapterName The name of the adapter identified by AdapterIndex.
AdapterOtherIPAddresses Other IP addresses leased by the adapter specified by AdapterIndex, if any.
AdapterPhysicalAddress The physical address of the adapter identified by AdapterIndex.
AdapterPrimaryWINSServer The primary WINS server of the adapter identified by AdapterIndex.
AdapterSecondaryWINSServer The secondary WINS server of the adapter identified by AdapterIndex.
AdapterSubnetMask The subnet of the adapter identified by AdapterIndex.
AdapterType The type of adapter identified by AdapterIndex.
AdapterUsesWINS Shows whether or not the adapter identified by AdapterIndex uses WINS.
AdapterZoneId The zone Id of the adapter identified by AdapterIndex.
DHCPScope The DHCP Scope of the DHCP server.
DNSEnabled Shows whether DNS is enabled on the local computer.
DNSServer The address of the DNS Server.
DomainName The current network domain on which the system resides.
HostAddress An Internet Address in dotted format. When set, it initiates a search for the corresponding host name.
HostAliases Other names corresponding to the host with name HostName.
HostName The Domain Name of an Internet host. When set, it initiates a search for the corresponding address(es).
LocalHost The name of the local host.
NodeType The type of node for the system.
OtherAddresses Other addresses for the host identified by HostName (for multihomed hosts).
OtherDNSServers Other DNS servers configured for the host machine.
PendingRequests The number of requests awaiting for completion.
RequestId The handle of the last request.
RoutingEnabled Shows whether routing is enabled on the local computer.
ServiceAliases Other names by which the service specified by ServiceName/ ServicePort is known.
ServiceName A name for a service. When set, it initiates a search for the corresponding port number and protocol.
ServicePort A port number for a service. When set, it initiates a search for the corresponding service name and protocol.
ServiceProtocol The protocol of the service specified by ServiceName/ ServicePort.

Method List


The following is the full list of the methods of the component with short descriptions. Click on the links for complete descriptions.

Config Sets or retrieves a component configuration setting.
DHCPRelease Releases the IP Address of the current adapter specified by AdapterIndex.
DHCPRenew Renews the IP Address of the current adapter specified by AdapterIndex.
DoEvents Processes events from the internal message queue.
GetMAC Returns the MAC address of the network interface at IPAddress.
Reset Resets the component stopping all pending requests and refreshing network information.
ResolveAddress Resolve an IP address.
ResolveName Resolve a host name.

Event List


The following is the full list of the events fired by the component with short descriptions. Click on the links for complete descriptions.

Error Information about errors during data delivery.
RequestComplete Fired after an asynchronous request completes.

Configuration Settings


The following is a list of configuration settings for the component with short descriptions. Click on the links for complete descriptions.

CodePage The system code page used for Unicode to Multibyte translations (Windows/COM only).
UseOldApi If set the component will use the old API to get Adapter information.
WinsockInfo Identifying information about the loaded Winsock stack (Windows only)
WinsockLoaded Loads and unloads Winsock on demand (Windows only)
WinsockMaxDatagramSize Size in bytes of the largest UDP datagram that can be sent or received (Windows only)
WinsockMaxSockets Maximum number of sockets available to a single process (Windows only)
WinsockPath The path to the Winsock DLL used (Windows only)
WinsockStatus The status of the Winsock stack (Windows only)

| About | Privacy Policy | Terms of Use |
© Copyright 2008 /n software inc.