IFPCVpnPPPSettings::EnableCHAP property

Applies to: desktop apps only

The EnableCHAP property gets or sets a Boolean value that indicates whether the Challenge Handshake Authentication Protocol (CHAP) is enabled. CHAP is a challenge/response authentication protocol for Point-to-Point Protocol (PPP) connections that applies the Message Digest 5 (MD-5) hashing algorithm to a combination of the challenge string issued by the authenticating server and the user's password, and then sends the result in the response.

This property is read/write.

Syntax

HRESULT put_EnableCHAP(
  VARIANT_BOOL fEnableCHAP
);

HRESULT get_EnableCHAP(
  VARIANT_BOOL *pfEnableCHAP
);
' Data type: Boolean

Property EnableCHAP( _
  ByVal fEnableCHAP As VARIANT_BOOL, _
  ByVal pfEnableCHAP As VARIANT_BOOL _
) As Boolean

Property value

Boolean value that indicates whether CHAP is enabled.

Error codes

These property methods return S_OK if the call is successful; otherwise, they return an error code.

Remarks

This property is read/write. Its default value is False (VARIANT_FALSE in C++).

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCVpnPPPSettings

 

 

Build date: 7/12/2010