Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
Silverlight
 DisableSenderTrustCheck Property
Collapse All/Expand All Collapse All
.NET Framework Class Library for Silverlight
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)
Visual Basic (Declaration)
Public Property DisableSenderTrustCheck As Boolean
C#
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.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker