NetHelperGetClientIP Method | Helper帮助文档 |
获取远程客户机的IP地址
Namespace: HD.Common
Assembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static string GetClientIP( Socket clientSocket )
Public Shared Function GetClientIP ( clientSocket As Socket ) As String
public: static String^ GetClientIP( Socket^ clientSocket )
static member GetClientIP : clientSocket : Socket -> string
Parameters
- clientSocket
- Type: System.Net.SocketsSocket
客户端的socket对象
Return Value
Type: String[Missing <returns> documentation for "M:HD.Common.NetHelper.GetClientIP(System.Net.Sockets.Socket)"]
See Also