WebRequestInformation.UserHostAddress Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the user host address.
public:
property System::String ^ UserHostAddress { System::String ^ get(); };
public string UserHostAddress { get; }
member this.UserHostAddress : string
Public ReadOnly Property UserHostAddress As String
Property Value
The user host address.
Remarks
The following code example shows how to get the user host address.
// Get the request user host address.
public string GetRequestUserHostAdddress()
{
// Get the request user host address.
return (string.Format(
"Request user host address: {0}",
RequestInformation.UserHostAddress));
}
' Get the request user host address.
Public Function GetRequestUserHostAdddress() As String
' Get the request user host address.
Return String.Format( _
"Request user host address: {0}", _
RequestInformation.UserHostAddress)
End Function 'GetRequestUserHostAdddress
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.