Discuss this help topic in SecureBlackbox Forum


TElAS2Client     See also     

Filter: C#/Java  VB.NET  Pascal  C++  PHP  

This event is fired when an address of the host should be resolved.


    event TSBDNSResolveEvent OnDNSResolve;
    delegate void TSBDNSResolveEvent(Object Sender, string HostName, TElDNSResourceRecordSet Response, int ResolveResult, byte SecurityStatus);

    Event OnDNSResolve As TSBDNSResolveEvent
    Delegate Sub TSBDNSResolveEvent(ByVal Sender As Object, ByVal HostName As String, ByVal Response As TElDNSResourceRecordSet, ByVal ResolveResult As Integer, ByVal SecurityStatus As Byte)

    property OnDNSResolve : TSBDNSResolveEvent;
    TSBDNSResolveEvent = procedure (Sender: TObject; const HostName : string; Response : TElDNSResourceRecordSet; ResolveResult : Integer; SecurityStatus : TSBDNSSecurityStatus) of object;

    void get_OnDNSResolve(TSBDNSResolveEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnDNSResolve(TSBDNSResolveEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBDNSResolveEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcHostName, int32_t szHostName, TElDNSResourceRecordSetHandle Response, int32_t ResolveResult, TSBDNSSecurityStatusRaw SecurityStatus);

    TSBDNSResolveEvent|callable|NULL get_OnDNSResolve()
    void set_OnDNSResolve(TSBDNSResolveEvent|callable|NULL $Value)
    callable TSBDNSResolveEvent(TObject $Sender, string $HostName, TElDNSResourceRecordSet $Response, integer $ResolveResult, integer $SecurityStatus)


  • HostName - name of the host to be resolved
  • Response - resource record received from the resolver
  • ResolveResult - DNS resolution result
  • SecurityStatus - security status of the DNS resource record set
  • pcHostName - name of the host to be resolved
  • szHostName - the length of pcHostName.



    This event is fired by TElAS2Client when DNS resolving has been performed.

See also:     OnDNSKeyNeeded     OnDNSKeyValidate     DNS    

Discuss this help topic in SecureBlackbox Forum