コード例 #1
0
 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);
     }
 }
コード例 #2
0
 void AcquireSecurityKey(object o, EventArgs e)
 {
     security.Prepare(Factory, RemoteAddress);
 }