GetLocalPort Method
Collapse the table of content
Expand the table of content

HttpWorkerRequest.GetLocalPort Method ()


Provides access to the specified member of the request header.

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

public abstract int GetLocalPort()

Return Value

Type: System.Int32

The server port number returned in the request header.

.NET Framework
Available since 1.1
Return to top
© 2016 Microsoft