Thursday, April 1, 2010

Get signed Assembly public key token


 This is the command to retrieve the public Token from a signed assembly.
Open Visual Studio command prompt and type:
sn -T myAssembly.dll

Microsoft (R) .NET Framework Strong Name Utility  Version 3.5.30729.1
Copyright (c) Microsoft Corporation.  All rights reserved.

Public key token is d3b94d901eb0200f

Wednesday, March 31, 2010

An error occurred when verifying security for the message

Yesterday, I got a strange error while connecting to a WCF service.
This issue was caused because the time of my client and the service did not match... I adjusted the time between the service and then it was working again :P