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

Upload valid file in C#

    protected bool CheckFileExtandLength(HttpPostedFile HtmlDocFile)     {         try         {             Dictionary<string, byte[]...