Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
ChiakiYu
Common
Web
WebHelper
GetIP
ChiakiYu.Common.Web.WebHelper.GetIP C# (CSharp) Method
WebHelper Class Documentation
Show file
Open project: andyshao/ChiakiYu
GetIP()
public
static
method
获取IP地址
public
static
GetIP
( ) :
string
return
string
public static string GetIP() { return GetIP(HttpContext.Current); }
Same methods
WebHelper::
GetIP
(
HttpContext
httpContext
) :
string
WebHelper
FormatCompleteUrl
GetIP
GetPhysicalFilePath
GetServerDomain
HostPath
HtmlDecode
HtmlEncode
ResolveUrl
Return304
Return403
Return404
ReturnStatusCode
SetStatusCodeForError
UrlDecode
UrlEncode