Microsoft Internet Security and Acceleration Server 2004 SDK

PresharedKey Property of IFPCVpnNetworkIPSecSettings[C++]

FPCVpnNetworkIPSecSettings.PresharedKey [Visual Basic]

[C++]

The PresharedKey property gets or sets the preshared key for IPSec authentication. A preshared key is a string of text that is configured on both the VPN client and the VPN server. A preshared key provides a relatively weak authentication method. We therefore recommend that you use it only in the interim when your public key infrastructure (PKI) is being deployed to obtain computer certificates, or when a preshared key is required by VPN clients.

HRESULT get_PresharedKey(
  BSTR* pbstrPresharedKey
);

HRESULT put_PresharedKey(
  BSTR bstrPresharedKey
);

Parameters

pbstrPresharedKey
Pointer to a BSTR that is set on return to a string value specifying the name or IP address of the remote site.
bstrPresharedKey
BSTR that specifies the preshared key for L2TP connections.

Return Values

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

Remarks

This property is read/write.

[Visual Basic]

The PresharedKey property gets or sets the preshared key for IPSec authentication. A preshared key is a string of text that is configured on both the VPN client and the VPN server. A preshared key provides a relatively weak authentication method. We therefore recommend that you use it only in the interim when your public key infrastructure (PKI) is being deployed to obtain computer certificates, or when a preshared key is required by VPN clients.

Property PresharedKey As String

Property Value

String that specifies the preshared key for IPSec authentication.

Remarks

This property is read/write.

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration Server 2004 Administration Library.

See Also

FPCVpnNetworkIPSecSettings