public void ConstructorEnsureSecurity () { IChannel ch = new NonSecureChannel (); ChannelServices.RegisterChannel (ch, true); // in case it happened to successfully register the channel... ChannelServices.UnregisterChannel (ch); }
public void ConstructorEnsureSecurity() { IChannel ch = new NonSecureChannel(); ChannelServices.RegisterChannel(ch, true); // in case it happened to successfully register the channel... ChannelServices.UnregisterChannel(ch); }