ViewStateException::RemotePort Property

 

Gets the port number of the HTTP request that resulted in a view-state exception.

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

public:
property String^ RemotePort {
	String^ get();
}

Property Value

Type: System::String^

A String containing the remote port number.

This property returns the same value as the REMOTE_PORT variable in the ServerVariables property.

.NET Framework
Available since 2.0
Return to top
Show: