Click to See Complete Forum and Search --> : remoting custom channel


roger32
November 30th, 2003, 07:57 PM
Hi,

I’m trying to implement a custom channel without configuration file.
I’m referring to the Microsoft sample SecureChannel that uses configuration file:

channels
channel ref="http" port="8124"
serverProviders
provider
type="MsdnMag.Remoting.SecureServerChannelSinkProvider, SecureChannel"
algorithm="DES"
/
formatter ref="binary" /
/serverProviders>
/channel
/channels


I’ve tried this:

SecureServerChannelSinkProvider=new SecureServerChannelSinkProvider(...);

But the channel is not binary formatted.
How I should “translate” --formatter ref="binary" /-- programmatically?


Thanks.