This is the ws-security header. Since you have .net 3.5, you can use WCF so that you can do this in your endpoint configuration.
But what part of ws-security did you want to do? WS-Security on Wikipedia
So I need more information before I can give a better answer.
Leong source share