Remoting and Encryption via Sinks—An Overview

What happens inside a channel? Channels use channel sink objects before they send and after they receive a message. Which sink you implement depends on whether you are coming from the client side or the server side. (The base implementations are IClientChannelSink and IServerChannelSink, respectively.) Additionally, on the client, the first channel sink must implement IMessageSink. The combination of IClientChannelSink and IMessageSink is provided for in IClientFormatterSink, which formats content for an IMessage class. IMessage, of course, contains a stream. This stream is the message going between the client and the server. Once the stream is available, it is read into the CryptoStream class mentioned ...

Get .NET Framework Security now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.