AspNetWebSocketContext.UserHostAddress 属性

定义

获取远程客户端的 IP 地址。

public:
 virtual property System::String ^ UserHostAddress { System::String ^ get(); };
public virtual string UserHostAddress { get; }
member this.UserHostAddress : string
Public Overridable ReadOnly Property UserHostAddress As String

属性值

String

IP 地址。

例外

未实现该属性。

适用于