Determining CryptoAPI Constants with the ConstFinder Sample Application

Writing the ManagedCryptoAPI class required knowing a lot of the constant values that are defined as part of CryptoAPI. When writing native code, using these constants is easy because developers simply need to include the correct header files to access them.

The ConstFinder is an application for Embedded Visual C++ 3.0 that was used to determine the actual constant values needed to write ManagedCryptoAPI. This project will also load under Embedded Visual C++ 4.0. It is included in the folder \SampleApplications\Chapter14\Windows_ConstFinder.

ConstFinder simply sets local variables to the values of the constants, which makes it easy to learn their values by using a debugger. ...

Get Microsoft® .NET Compact Framework Kick Start now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.