Listing CSPs and CSP Types

Now that you've looked at some of the basic functions that are necessary for managing the CSPs and key containers, you can get your hands dirty with some actual code. You'll build a simple application that displays the list of CSPs that are available on a computer, along with the list of CSP types.

Designing the Interface

For the user interface, you need two buttons to trigger the two lists, along with a third button to close the application. You also need a label control in which to display the lists of CSPs and types. Start a new standard Visual Basic project, and lay out the form as shown in Figure 2.2, setting the control properties as listed in Table 2.7.

Figure 2.2. Application screen layout.
Table 2.7. Control ...

Get Developing Secure Applications with Visual Basic 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.