Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

In ASP.NET Core how check if request is local

if (Request.Host.Host == "localhost") 
{
  // do something 
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #In #Core #check #request #local
ADD COMMENT
Topic
Name
6+4 =