Export (0) Print
Expand All

Message.SenderCertificate Property

Gets or sets the security certificate used to authenticate messages.

Namespace:  System.Messaging
Assembly:  System.Messaging (in System.Messaging.dll)

public byte[] SenderCertificate { get; set; }

Property Value

Type: System.Byte[]
An array of byte values that represents a security certificate, which Message Queuing uses to verify the sender of the message. The default is a zero-length array.


The message queue is filtered to ignore the SenderCertificate property.

The receiving application uses the SenderCertificate property when the message includes an external security certificate.

Message Queuing can authenticate a message using either an internal or external security certificate. Message Queuing provides internal certificates, which are used to verify message integrity. A certification authority provides an external certificate, which you can access through the SenderCertificate property of the message. In addition to allowing Message Queuing to authenticate the message, an external certificate allows the receiving application to further verify the sender. An internal certificate has no usable value to a receiving application.

An external certificate must be registered with the directory service of the Message Queuing system. An external certificate contains information about the certification authority, the certificate user, the validity period of the certificate, the public key of the certificate user, and the certification authority's signature.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft