Share via


Cryptography Application Block WMI Events

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.

The Cryptography Application Block is instrumented with the following WMI events:

  • HashOperationFailedEvent
  • HashMisMatchDetectedEvent
  • SymmetricOperationFailedEvent
  • CryptograhyConfigurationFailureEvent

The following tables describe each WMI event's properties.

HashOperationFailedEvent Properties

WMI Property

Description

ExceptionMessage

The message for the exception that was raised when the hash operation failed.

ErrorMessage

The message that describes how the hash operation failed.

InstanceName

The ID of the hash provider that suffered the failure, as specified in the configuration file.

UtcTimeStamp

The time that the hash operation failed.

HashMisMatchDetectedEvent Properties

WMI Property

Description

InstanceName

The ID of the hash provider that detected the mismatch, as specified in the configuration file.

UtcTimeStamp

The time that the mismatch was detected.

SymmetricOperationFailedEvent Properties

WMI Property

Description

ExceptionMessage

The message for the exception that was raised when the symmetric operation failed.

ErrorMessage

The message that describes how the symmetric operation failed.

InstanceName

The ID of the symmetric provider that suffered the failure, as specified in the configuration file.

UtcTimeStamp

The time that the symmetric operation failed.

CryptographyConfigurationFailureEvent Properties

WMI Property

Description

ExceptionMessage

The message for the exception that was raised when the attempt to create or configure a cryptography provider failed.

InstanceName

The ID of the cryptography provider that could not be created or configured, as specified in the configuration file.

UtcTimeStamp

The time that the configuration failure occurred.