This documentation is archived and is not being maintained.

IAuthorizeRemotingConnection.IsConnectingIdentityAuthorized Method

Note: This method is new in the .NET Framework version 2.0.

Gets a Boolean value that indicates whether the user identity of the client is authorized to connect on the current channel.

Namespace: System.Runtime.Remoting.Channels
Assembly: System.Runtime.Remoting (in system.runtime.remoting.dll)

bool IsConnectingIdentityAuthorized (
	IIdentity identity
)
boolean IsConnectingIdentityAuthorized (
	IIdentity identity
)
function IsConnectingIdentityAuthorized (
	identity : IIdentity
) : boolean

Parameters

identity

The IIdentity that represents the user identity of the client.

Return Value

true if the user identity of the client is authorized; otherwise, false.

An instance of the IAuthorizeRemotingConnection interface is passed to TcpServerChannel(IDictionary,IServerChannelSinkProvider,IAuthorizeRemotingConnection). It provides a single point of authorization for all incoming connections on a TcpServerChannel. It allows for the authorization of the caller before any incoming messages are deserialized to minimize the security threat from untrusted sources.

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0
Show: