ViewStateException.RemoteAddress Property


Gets the IP address of the HTTP request that resulted in a view-state exception.

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

public string RemoteAddress { get; }

Property Value

Type: System.String

A String containing the remote IP address of the client.

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

.NET Framework
Available since 2.0
Return to top