DisableSenderTrustCheck Property

LocalMessageReceiver.DisableSenderTrustCheck Property


Gets or sets a value that indicates whether the receiver can receive messages from a sender with a different Protected Mode setting.

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

Public Property DisableSenderTrustCheck As Boolean

Property Value

Type: System.Boolean
true if the receiver can receive messages regardless of the sender's Protected Mode setting; otherwise, false.


When setting this property, the Listen method has already been called.


When setting this property, the Dispose method has already been called.

Internet Explorer 7 for Windows Vista introduced a Protected Mode setting that provides additional security. By default, Protected Mode is enabled for the Internet and Restricted Sites security zones, and disabled otherwise.

Normally, Silverlight-based applications from zones with different Protected Mode settings cannot communicate through local messaging. However, you can bypass this restriction by setting DisableSenderTrustCheck to true. This is typically necessary, for example, to enable local messaging between out-of-browser and Internet-based Silverlight applications.

For more information, see Communication Between Local Silverlight-Based Applications.


Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

© 2015 Microsoft