<?xml version="1.0" encoding="utf-8"?>
<Type Name="IChannelCredentials" FullName="System.ServiceModel.ComIntegration.IChannelCredentials">
  <TypeSignature Language="C#" Value="public interface IChannelCredentials" />
  <TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract IChannelCredentials" />
  <AssemblyInfo>
    <AssemblyName>System.ServiceModel</AssemblyName>
    <AssemblyVersion>4.0.0.0</AssemblyVersion>
  </AssemblyInfo>
  <Interfaces />
  <Docs>
    <remarks>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>Unmanaged clients use the "service" moniker to access indigo1 services. These clients are subject to the indigo2 security model rather than the COM security model. The <see cref="T:System.ServiceModel.ComIntegration.IChannelCredentials" /> interface is provided to specify channel credentials. This is required because the COM moniker cannot access the managed indigo2 security object model.</para>
      <para>It is not legal to call methods on the IChannelCredentials interface after the channel is created. This is because indigo1 does not support changing security settings on an already opened channel. When the service moniker client obtains a proxy, the channel is not yet created. Thus, the client must call IChannelCredentials methods prior to invoking the service method. If the client calls an IChannelCredentials method after the service method is invoked, the exception RPC_E_TOO_LATE is thrown.</para>
    </remarks>
    <summary>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>An interface that allows the setting of certain security features on a service proxy.</para>
    </summary>
  </Docs>
  <Members />
</Type>