Export (0) Print
Expand All

<windowsStreamSecurity>

Specifies the options for streaming security of the custom binding.

<system.serviceModel>

  <bindings>

    <customBinding>

      <binding>

        <windowsStreamSecurity>


									
									<windowsStreamSecurity protectionLevel="None/Sign/EncryptAndSign"/>
								

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description

protectionLevel

Defines message-level security. Signing messages mitigates the risk of a third party tampering with the message while it is being transferred. Encryption provides data-level privacy during transport. Valid values include the following:

  • None: No protection.

  • Sign: Messages are signed.

  • EncryptAndSign: Messages are signed and encrypted.

The default is EncryptAndSign.

This attribute is of type ProtectionLevel.

Child Elements

None

Parent Elements

Element Description

<binding>

Defines all binding capabilities of the custom binding.

Footer image

Send comments about this topic to Microsoft.
© Microsoft Corporation. All rights reserved.

Community Additions

ADD
Show:
© 2014 Microsoft