Filter: C++  Pascal  C#  VB.NET  Java  Java ME  ActiveX  DLL 



InetTransport.SocksAuthentication

InetTransport     See also    


Specifies whether authentication is used when connecting to SOCKS server.

Declaration

[C++]
    void setSocksAuthentication(IPCSocksAuthentication Value);
    IPCSocksAuthentication getSocksAuthentication(void);

[Pascal]
    property SocksAuthentication : TIPCSocksAuthentication;

[VB6]
    Property IIPCXInetTransport2.SocksAuthentication As TIPCXSocksAuthentication

[ActiveX]
    HRESULT _stdcall IIPCXInetTransport2.SocksAuthentication([in] IPCXSocksAuthentication Value );
    HRESULT _stdcall IIPCXInetTransport2.SocksAuthentication([out, retval] IPCXSocksAuthentication * Value );

[C#]
    public IPCSocksAuthentication SocksAuthentication;

[VB.NET]
    Public Property SocksAuthentication As IPCXSocksAuthentication

[Java]
    public void setSocksAuthentication(byte value);
    public byte getSocksAuthentication();

[Java ME]
    public void setSocksAuthentication(byte value);
    public byte getSocksAuthentication();

[DLL]
    void __stdcall IPCInetTransportSetSocksAuthentication(HIPCInetTransport h, unsigned long value);
    unsigned long __stdcall IPCInetTransportGetSocksAuthentication(HIPCInetTransport h);

Values:

IPCSocksAuthentication
    saNoAuthentication = 0;
    saUserCode = 5;

Parameters

  • h - handle to the object that was returned by Create method

Description

    This property specifies the method of authentication to use with the SOCKS server. The methods supported are "do not authenticate" and "authenticate using UserCode and Password".
    This property is used only when UseSocks is set.