Discuss this help topic in SecureBlackbox Forum

TElSimpleSFTPClient.OnDNSResolve

TElSimpleSFTPClient     See also     


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


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

Declaration

[C#/Java]
    event TSBDNSResolveEvent OnDNSResolve;
    delegate void TSBDNSResolveEvent(object Sender, string HostName, TElDNSResourceRecordSet Response, int ResolveResult, TSBDNSSecurityStatus SecurityStatus);

[VB.NET]
    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 TSBDNSSecurityStatus)

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

[C++]
    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);

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

Parameters

  • 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.

Values:


Description

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

See also:     OnDNSKeyNeeded     OnDNSKeyValidate     DNS    

Discuss this help topic in SecureBlackbox Forum