HttpWorkerRequest.GetRemotePort 方法

定义

提供对请求标头的指定成员的访问。Provides access to the specified member of the request header.

public:
 abstract int GetRemotePort();
public abstract int GetRemotePort ();
abstract member GetRemotePort : unit -> int
Public MustOverride Function GetRemotePort () As Integer

返回

客户端的 HTTP 端口号。The client's HTTP port number.

适用于