The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
Hello
I want to get
Machine Address
Or I want to get a fixed ip
I want to get
Machine Address
Or I want to get a fixed ip
نوشته شده در
You can maybe get the client ip with request.servervariables9("remote_addr") but it's not 100% reliable.
You can't get the client MAC address with asp, if that's what you're looking for.
======
Doug G
======
Computer history and help at www.dougscode.com
Doug G
======
Computer history and help at www.dougscode.com
نوشته شده در
Now, with so many proxy servers in use, anyone wanting to fool you will be hard to detect. It would be nice if the MAC address was available.
نوشته شده در
taken from inc_func_common.asp
Code:
UserIPAddress = Request.ServerVariables("HTTP_X_FORWARDED_FOR")
if UserIPAddress = "" or left(UserIPAddress, 7) = "unknown" then
UserIPAddress = Request.ServerVariables("REMOTE_ADDR")
elseif InStr(UserIPAddress, ",") > 0 then
UserIPAddress = Left(UserIPAddress, InStr(UserIPAddress, ",")-1)
elseif InStr(UserIPAddress, ";") > 0 then
UserIPAddress = Left(UserIPAddress, InStr(UserIPAddress, ";")-1)
end if
UserIPAddress = Trim(ChkString(UserIPAddress,"SQLString"))
if InStr(UserIPAddress, ":") > 0 then
UserIPAddress = Left(UserIPAddress, InStr(UserIPAddress, ":")-1)
end if
نوشته شده در
Know how to find this kind of ip
But the problem with me that some people are using laptop and move from network to network
And changed the ip
You could get information on No. Alrmat or Albroosso or information about the computer user
But the problem with me that some people are using laptop and move from network to network
And changed the ip
You could get information on No. Alrmat or Albroosso or information about the computer user
نوشته شده در
try this javascript
Code:
<script type="text/javascript" language="javascript">
var ax = new ActiveXObject("WScript.Network");
document.write(ax.UserName + '<br />'); //logged in account name
document.write(ax.ComputerName + '<br />'); //Windows PC name
</script>
نوشته شده در
I got on the computer name
<%
Set objNetwork = CreateObject("WScript.Network")
strNAME = objNetwork.computername
response.write(" " & strNAME & "<br>")
%>
I want to get RAM or processor
<%
Set objNetwork = CreateObject("WScript.Network")
strNAME = objNetwork.computername
response.write(" " & strNAME & "<br>")
%>
I want to get RAM or processor
نوشته شده در
ComputerName and UserDomain and UserName
Set objNetwork = CreateObject("WScript.Network")
Response.write "Computer Name: " & ObjNetwork.ComputerName & "<br>"
Response.write "User Domain: " & ObjNetwork.UserDomain & "<br>"
Response.write "User Name: " & ObjNetwork.UserName & "<br>"
I want to get RAM or processor
Set objNetwork = CreateObject("WScript.Network")
Response.write "Computer Name: " & ObjNetwork.ComputerName & "<br>"
Response.write "User Domain: " & ObjNetwork.UserDomain & "<br>"
Response.write "User Name: " & ObjNetwork.UserName & "<br>"
I want to get RAM or processor
نوشته شده در
No, that's not possible. There is no access to hardware information through JavaScript in web browsers. You might have some luck using browser plugins, ActiveX, etc.
نوشته شده در
ok Thank you, professor HuwR
Email Member
Message Member
Post Moderation
بارگزاری فایل
If you're having problems uploading, try choosing a smaller image.
پیشنمایش مطلب
Send Topic
Loading...