HTTP API Toolkit HTTP API Toolkit
HTTP API Toolkit HTTP API Toolkit
DocFX + Singulink = ♥

Search Results for

    Method GetClientIpAddress

    GetClientIpAddress(HttpContext)

    Gets the IP address of the client that is making the request (RemoteIpAddress), with an IPv4-mapped IPv6 address, such as ::ffff:203.0.113.7, as the IPv4 address it maps, or null if the address is not known.

    Declaration
    public static IPAddress? GetClientIpAddress(this HttpContext httpContext)
    Parameters
    Type Name Description
    HttpContext httpContext
    Returns
    Type Description
    IPAddress
    © Singulink. All rights reserved.