Endpoint Message Property(String, Int32) Constructor
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the RemoteEndpointMessageProperty class for a specified IP address and port that identify the client from which the message was sent.
public: RemoteEndpointMessageProperty(System::String ^ address, int port);
public RemoteEndpointMessageProperty (string address, int port);
new System.ServiceModel.Channels.RemoteEndpointMessageProperty : string * int -> System.ServiceModel.Channels.RemoteEndpointMessageProperty
Public Sub New (address As String, port As Integer)
The IP address of the remote endpoint associated with the message.
The port number of the remote endpoint associated with the message.
null or empty.
The port number is less than zero or greater than 65535 (0xffff).
Be aware that the IP address and port could be spoofed by an attacker and thus should not be relied upon for security sensitive authentication or authorization unless additional application specific logic is added.