protected override void OnOpen(TimeSpan timeout) { channel.Open(timeout); if (security_initiator != null) { security_initiator.Prepare((ChannelFactoryBase)Manager, RemoteAddress); } else { security_recipient.Prepare((ChannelListenerBase)Manager, LocalAddress.Uri); } }
void AcquireSecurityKey(object o, EventArgs e) { security.Prepare(Factory, RemoteAddress); }