Answers for "In Asp.Net Core core how to I get the web site's IP address?"

C#
1

In Asp.Net Core core how to I get the web site's IP address?

var httpConnectionFeature = httpContext.Features.Get<IHttpConnectionFeature>();
var localIpAddress = httpConnectionFeature?.LocalIpAddress;
Posted by: Guest on December-09-2021

Code answers related to "In Asp.Net Core core how to I get the web site's IP address?"

C# Answers by Framework

Browse Popular Code Answers by Language