HttpWorkerRequest.GetRemotePort Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Provides access to the specified member of the request header.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public abstract int GetRemotePort()

Return Value

Type: System.Int32

The client's HTTP port number.

.NET Framework
Available since 1.1
Return to top