Langue

IAuthorizeRemotingConnection.IsConnectingEndPointAuthorized(EndPoint) Méthode

Définition

Obtient une valeur booléenne qui indique si l’adresse réseau du client est autorisée à se connecter sur le canal actuel.

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

Paramètres

endPoint
EndPoint

Qui EndPoint identifie l’adresse réseau du client.

Retours

true si l’adresse réseau du client est autorisée ; sinon, false.

Remarques

Une instance de l’interface IAuthorizeRemotingConnection est passée à TcpServerChannel(IDictionary, IServerChannelSinkProvider, IAuthorizeRemotingConnection). Il fournit un point d’autorisation unique pour toutes les connexions entrantes sur un TcpServerChannel. Il permet l’autorisation de l’appelant avant que les messages entrants soient désérialisés pour réduire la menace de sécurité provenant de sources non approuvées.

S’applique à