Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Show:
© 2015 Microsoft