Monday, 26 June 2017

How to get Visitor IP Address and Location in ASP.Net

  1. HttpRequest request=base.Request;
  2. String VisitorIP=request.UserHostAddress;

No comments:

Post a Comment

Search text in stored procedure in SQL Server

SELECT *   FROM   sys.procedures WHERE  Object_definition(object_id) LIKE '%keyword%'