Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

LocalMessageReceiver.DisableSenderTrustCheck Property

Silverlight

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 bool DisableSenderTrustCheck { get; set; }

Property Value

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

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

ObjectDisposedException

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.

Silverlight

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.