GoldieLocks
GoldieLocks

Reputation: 933

How do I obtain a PPP cookie for rasdial API?

The RASDIALEXTENSIONS structure defines:

fSkipPppAuth

Windows 7 or later: If this member is TRUE, then Point to Point Protocol (PPP) authentication is skipped and the value in RasDevSpecificInfo will be passed to the server for validation. Otherwise, this member is FALSE and PPP authentication proceeds normally.

RasDevSpecificInfo

Windows 7 or later: A RASDEVSPECIFICINFO structure that contains a cookie to be used for PPP authentication. This cookie is only valid if fSkipPppAuth is TRUE.

How would one go about obtaining this cookie? If I connect with the rasdial function, how can I obtain a cookie to use for future connections?

Upvotes: 0

Views: 73

Answers (0)

Related Questions