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

Getting Available Server Disk Space (Total Size / Free Space) SQL Query

SELECT distinct(volume_mount_point), total_bytes/1048576 as Size_in_MB, total_bytes/1048576/1024 as Size_in_GB, available_bytes/1048576 ...