4#include <system/string.h>
5#include <system/shared_ptr.h>
6#include <system/object.h>
7#include <system/iasyncresult.h>
8#include <system/async_callback.h>
9#include <system/array.h>
11#include <net/ip_host_entry.h>
12#include <net/ip_address.h>
26 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
28 ASPOSECPP_SHARED_RTTI_INFO_DECL();
Provides methods to work with DNS.
Definition: dns.h:19
Dns()=delete
The deleted default constructor.
static System::SharedPtr< IAsyncResult > BeginResolve(String hostName, AsyncCallback requestCallback, System::SharedPtr< Object > stateObject)
Initiates an asynchronous operation to create a new IPHostEntry-class instance using the specified ho...
static System::SharedPtr< IAsyncResult > BeginGetHostAddresses(String hostNameOrAddress, AsyncCallback requestCallback, System::SharedPtr< Object > state)
Initiates an asynchronous operation to create a new IPHostEntry-class instance using the specified st...
static System::SharedPtr< IPHostEntry > GetHostByName(String hostName)
Creates a new IPHostEntry-class instance using the specified host name.
static System::SharedPtr< IPHostEntry > EndGetHostByName(System::SharedPtr< IAsyncResult > asyncResult)
Waits until the specified asynchronous operation to create a new IPHostEntry-class instance completes...
static System::SharedPtr< IAsyncResult > BeginGetHostEntry(String hostNameOrAddress, AsyncCallback requestCallback, System::SharedPtr< Object > stateObject)
Initiates an asynchronous operation to create a new IPHostEntry-class instance using the specified st...
static String GetHostName()
Returns the host name of the local machine.
static System::SharedPtr< IPHostEntry > EndResolve(System::SharedPtr< IAsyncResult > asyncResult)
Waits until the specified asynchronous operation to create a new IPHostEntry-class instance completes...
static System::SharedPtr< IPHostEntry > GetHostByAddress(String address)
Creates a new IPHostEntry-class instance using the specified string representation of an IP address.
static System::SharedPtr< IPHostEntry > GetHostByAddress(System::SharedPtr< IPAddress > address)
Creates a new IPHostEntry-class instance using the specified IP address.
static System::SharedPtr< IPHostEntry > GetHostEntry(System::SharedPtr< IPAddress > address)
Creates a new IPHostEntry-class instance using the specified IP address.
static System::SharedPtr< IPHostEntry > GetHostEntry(String hostNameOrAddress)
Creates a new IPHostEntry-class instance using the specified string that contains a host name or IP a...
static System::SharedPtr< IPHostEntry > EndGetHostEntry(System::SharedPtr< IAsyncResult > asyncResult)
Waits until the specified asynchronous operation to create a new IPHostEntry-class instance completes...
static System::SharedPtr< IPHostEntry > Resolve(String hostName)
Creates a new IPHostEntry-class instance using the specified host name.
static System::SharedPtr< IAsyncResult > BeginGetHostByName(String hostName, AsyncCallback requestCallback, System::SharedPtr< Object > stateObject)
Initiates an asynchronous operation to create a new IPHostEntry-class instance using the specified ho...
static System::ArrayPtr< System::SharedPtr< IPAddress > > GetHostAddresses(String hostNameOrAddress)
Returns a collection of IP addresses of the specified host name or IP address.
static System::SharedPtr< IAsyncResult > BeginGetHostEntry(System::SharedPtr< IPAddress > address, AsyncCallback requestCallback, System::SharedPtr< Object > stateObject)
Initiates an asynchronous operation to create a new IPHostEntry-class instance using the specified IP...
static System::ArrayPtr< System::SharedPtr< IPAddress > > EndGetHostAddresses(System::SharedPtr< IAsyncResult > asyncResult)
Waits until the specified asynchronous operation to create a new IPHostEntry-class instance completes...
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:62
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
String class used across the library. Is a substitute for C# System.String when translating code....
Definition: string.h:122
Definition: db_command.h:9
System::MulticastDelegate< void(SharedPtr< IAsyncResult >)> AsyncCallback
A delegate type that represents a method to be called when asynchronous operation completes.
Definition: async_callback.h:13