This documentation is archived and is not being maintained.

Visual Basic Security Samples 

These samples demonstrate security tasks.

In This Section

Cryptographic Hash Algorithms Sample

Uses hash algorithms.

Symmetric Algorithms Sample

Uses symmetric algorithms for encryption.



This class is used to compute hash algorithms.


This class is used to encrypt data.

Related Sections

ClickOnce OnDemand Deployment Technology Sample

Demonstrates ClickOnce application deployment using classes in the System.Deployment.Application namespace.

ClickOnce Background Update Technology Sample

Demonstrates using the ClickOnce API to download a ClickOnce application update as a background task.

Public Key Cryptography Technology Sample

Demonstrates how you can use public key encryption to exchange messages.

Cryptographic Services

Introduces key concepts in cryptography and describes how it is implemented in the .NET Framework.

Secure Coding Guidelines

Discusses how to use the .NET Framework to erect barriers to malicious code and undesirable actions on the part of others.

Visual Basic Application Samples

These samples demonstrate project, user, and assembly tasks.

Data Samples

These samples demonstrate data access.

Visual Basic Windows Forms Samples

These samples demonstrate Windows Forms applications.

Visual Basic Language Samples

These samples demonstrate Visual Basic language concepts.

Visual Basic Server Components Samples

These samples demonstrate server-based components.

Visual Basic Sample Applications

This page is the starting point for all Visual Basic samples included with the documentation.