Edit

Share via


IAuthorizeRemotingConnection.IsConnectingEndPointAuthorized(EndPoint) Method

Definition

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

public:
 bool IsConnectingEndPointAuthorized(System::Net::EndPoint ^ endPoint);
public bool IsConnectingEndPointAuthorized (System.Net.EndPoint endPoint);
abstract member IsConnectingEndPointAuthorized : System.Net.EndPoint -> bool
Public Function IsConnectingEndPointAuthorized (endPoint As EndPoint) As Boolean

Parameters

endPoint
EndPoint

The EndPoint that identifies the network address of the client.

Returns

true if the network address of the client is authorized; otherwise, false.

Remarks

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.

Applies to