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

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

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