Updating the Cryptography Application Block

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Enterprise Library information can be found at the Enterprise Library site.

If an updated version of the Cryptography Application Block becomes available, you can install the updated version and have all applications use the updated assembly. However, if the updated version introduces compatibility problems for certain applications, you can install the updated version in the global assembly cache and configure some applications to use the updated version, while others continue to use the earlier version.

Updating Private Assemblies

If the Cryptography Application Block assembly has been deployed as a private assembly, you can deploy the upgrade by simply replacing the earlier version of the DLL in the application folder hierarchy with the updated one.

Note

You should keep a copy of the earlier version so that if you experience any compatibility issues with the new assembly, you can revert to the earlier version.

Updating Shared Assemblies

The easiest way to upgrade the Cryptography Application Block assembly in a shared configuration is to install the updated DLL in the global assembly cache. By default, the common language runtime tries to load the assembly that has the latest build and revision numbers, but the same major and minor version numbers, as the assembly the application was built with. Therefore, if the major and minor version numbers have not changed, adding the updated version to the global assembly cache should automatically update all applications that refer to the Cryptography Application Block assembly.

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Enterprise Library information can be found at the Enterprise Library site.