IAuthorizeRemotingConnection.IsConnectingIdentityAuthorized Method (IIdentity)


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


Type: System.Security.Principal.IIdentity

The IIdentity that represents the user identity of the client.

Return Value

Type: System.Boolean

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.

.NET Framework
Available since 2.0
Return to top