Discuss this help topic in MsgConnect Forum

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(MCSocksAuthentication Value);
    MCSocksAuthentication getSocksAuthentication(void);

[Pascal]
    property SocksAuthentication : TMCSocksAuthentication;

[VB6]
    Property IMCXInetTransport2.SocksAuthentication As TMCXSocksAuthentication

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

[C#]
    public MCSocksAuthentication SocksAuthentication;

[VB.NET]
    Public Property SocksAuthentication As MCXSocksAuthentication

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

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

[DLL]
    void __stdcall MCInetTransportSetSocksAuthentication(HMCInetTransport h, unsigned long value);
    unsigned long __stdcall MCInetTransportGetSocksAuthentication(HMCInetTransport h);

Values:

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

Discuss this help topic in MsgConnect Forum