How to check if my message is encrypted

Posted by Ajayk3 under WCF on 11/8/2012 | Points: 10 | Views : 1843 | Status : [Member] | Replies : 1
I am using the following code

[ServiceContract(ProtectionLevel=ProtectionLevel.EncryptAndSign)]
public interface IService
{
}

And in the Web.Config

<system.serviceModel>
<bindings>
<wsHttpBinding>
<binding name="netTcpEndpointBinding">
<security mode="Message">
</security>
</binding>
</wsHttpBinding>
</bindings>
<services>
<service name="Service" behaviorConfiguration="ServiceBehavior">
<!-- Service Endpoints -->
<endpoint address="" bindingConfiguration="netTcpEndpointBinding" binding="wsHttpBinding" contract="IService">

Now how can i come to know if my message is sent in encrypted form ??




Responses

Posted by: Seng2hs on: 11/8/2012 [Member] Starter | Points: 25

Up
0
Down
Please refer this link, hope this link wil give you the answer.

http://www.codeproject.com/Articles/314327/Implement-windows-authentication-and-security-in-W

Ajayk3, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response