We have an ADFS 2.0 Environment that is used to federate our Active Directory domain with Office 365.
Recently we had an issue where the cluster stopped responding whic
Essentially, you use the WSTrustChannelFactory, create a channel, and pass it a RequestSecurityToken.
Leandro has a nice, concise sample
You'll need to install Windows Identity Foundation (WIF) if you aren't using .NET 4.5.