Web Forms :: Getting Computer Name And IP Address In Applications
Jan 28, 2013I have an issue getting computer name where the person is loged-in in the application. The problem isnt to get the PC Name, but to save it in the DB (SQL).
View 1 RepliesI have an issue getting computer name where the person is loged-in in the application. The problem isnt to get the PC Name, but to save it in the DB (SQL).
View 1 Repliesi have a asp.net web with vb code and sql database. i am willing to store the details of the users as ip,computer name and time of using the web is it possible.
View 1 RepliesWhat are the ways to detect a computer other than ip address. I saw some bux website where they do not store ip addresses but detects computers. How this is possible? Do this a program, or any other? Is this in anyway related to cookies, or mayby something else? A web application automatically detects computers using something other than an IP address. What could it be?
View 2 RepliesAll of examples on web assume the remote server which we are going to debug remotely is on the same network. I have only a static IP address and using RDP I connect to server.
I've installed Remote Debugger on remote machine but cannot set the static IP address as Qualifier in visual studio -> debug -> attach to process
I am running a website from IIS on one computer and I want to view the web page on another computer. the only way I can do this is by using the ipaddress of the computer with IIS on it but would rather have a url. How can I generate a url or use a domain name from [URL]. I signed up for an account on that website but dont know how to use it. I dont know how to configure it.
View 2 RepliesI've been worked with web services so far, and I'm interested in expanding my services to console applications as well so I started digging up with WCF but I'm conserned that I won't be able to use the HttpContext collection that I've been used to do with web services one important thing which is to generate a random value from HttpContext.Current.Request.ServerVariables["ALL_HTTP"] that I need to reckon if it's the same or at least near what machine that is calling my service. How can I overcome this problem?
I need to know what machine is calling to count the number of attempts to login into my system for example. So must do it inside of the svc code otherwise if I let the client inform what ip address or what computer he is using, anyone could forge this argument and surpass by another machine. May be I'm approaching this matter wrongly. And I should count the number of attempts per state session, but how is it done?
Our corporate intranet is designed so that each web application is a child application in the primary application.. Everything has worked fine with Visual Studio 2008 and even in 2010 running the website locally works great, the output directory for the child apps is ..in and the ProjectName.dll copies to that directory.. When I do a publish however it does not and I have to manually copy the dll from the bin folder in the project folder to the parent bin folder, this isn't hard of course but more of a pain in the butt each time I need to publish something. I made sure the output directory is correct for both debug and release yet on publish is just copies it to the child bin and not the parent bin as needed.
View 2 RepliesI have managed to expose the MEX endpoint of my WCF service and I can access it with the address like [URL] (example) and get the WDSL. So no problem there.
However, my WCF test page shows the address wrongly by using the server's name instead of the DNS name. And if I click on the link on the test page it won't work (can't get WSDL).
The WCF test page looks like this:
MyService Service
You have created a service.
To test this service, you will need to create a client and use it to call the service.
[URL]
The WCF service is hosted in IIS6. I would like to have a test page with the correct WSDL address so users can see the WSDL quickly in the browser just by clicking on the WSDL address.
In short: How can I change the MyServerName to inter.mycompany.com on the WCF test page? Can this be specified somewhere in the Web.config?
I am trying to pull entries from a database based on the current users IP Address. Here is what I have so far:
[Code]....
I am receiving the following error: Cannot find either column "Request" or the user-defined function or aggregate "Request.UserHostAddress.ToString", or the name is ambiguous.
Is it possible to do this? Should I try to access this information another way?
Is there any way to find computer owner or computer accounts in activedirectory via ldap?
I wanna to know if it is possible via ldap or another way?
I using c#.
Is it possible to find out the clients IP and possibly MAC address from non IE browsers (i.e. without using ActiveX)? If so, how?
View 1 RepliesIf I have a generic public asp.net website, I want to know who is visting my website (I know how to get that), but more importantly, I want to know what company the user is from (is this a microsoft employee viewing my website, or a Coca Cola employee viewing my site or is this person using a home computer to view my site). How can I determine the computers domain name? Hope this is making sense.
At most companies, I have seen the company name included as the "Full Computer Name" or the Domain value in "Computer name, domain and workgroup settings".
can i get information about the computer that enter my page , like the currently logged user on that computer and the ip address . and if i can get the currently logged user name , isn't that considered as security risk .
View 3 RepliesI am using master page which have content pannels as well as menu's .
View 2 RepliesI am uploading this file using browser using the upload control. I owuld like to know how to fetch the path of the file in the computer. I am not talking about the server. But the path of the computer from which it is getting uploaded.
View 11 Repliesmy wish is to move Files from ASP.NET Web Application(VB.NET) to remove Computer.
ive tried using a code behind, with no success..
i got en error which is "Could not find a prat of the path '\ComputerNameFolder' "
i tried instead "Computer Name" use IP address, and the same error.
(I gave All the premmission...)
i tried to create a Batch file, which is working if i run it.
but when i try to Execute it on the VB Code, i got nothing, it doesnt fire.
i tried (System.Diagnostics.Process.Start("C:File.bat"),Shell("C:File.bat") )
I have a file on the server that users will have the possibility to download to thieir computer. For example the filepath could look like below. How would it be possible to save this to the desktop or C: etc.. ?
[Code]....
Ok so I've created a login page that accesses my Active Directory and challenges against it. What I would like, is if a user is logged onto the computer within the intranet with Active Directory Credentials for them to bypass the login to the web page.
However if they are outside of the building on a random computer, they should be presented with a login box just like they are now.
how to make any text file on the client computer ?can i get any C# asp.net sample code ?
View 4 Repliesi have to make a login page where user has to enter username & password to get message from remote server. actually its a API, where user send his username and password and get the reply. i have done the login page coding. but i don know how to catch the reply and disply it in window.
note that there is now database or connection string where we have to compare username & password. its simple url as:-
"http://smscgateway.com/balanceapi.asp?username=username&password=password"
here in this string i have to replace the replace name and password with textbox values and post it. but it after posting i dont know how to catch the reply.
as soon as we click it. it replies as "invalid User Name or Password".
I am developing web application using ASP.NET and I want to close the current user session if the computer is idle for 5 minutes. Idle not means for web application only, Its full system that means if no keystroke received from keyboard for 5 mins.I got some info thru Google about Idle Tracker in VC++ but I dont know how to use that DLL in my web application. [URL] .... How to achieve this. I want to get the total computer active time and idle time thru asp.net for my employees productivity report.
View 1 RepliesHow do I obtain the IP address or MAC address or some Unique ID of a device within a mobile app, either client or server side?
We are developing a web application targeting iPhone, BlackBerry and Android, generally device independent, and we are looking for ways to uniquely identify a device for added authentication purpose. Is there a way to uniquely identify a mobile device, regardless of the make and model?
I'm creating a web site and I have this question, I installed a label with the name Userlbl in the master page, and the idea that I have, is when somebody opens the website, the label shows the computer's user, in my case Welcome: "Charly_csh"
I tried with this code, that I used before in access and it works, when I load the page on the localhost, but when I load on the server, it shows NETWORK SERVICE
The code is this:
[code]....
in my code I can get the computername with System.Environment.MachineName
how do I incorporate this to gridview and update my field "approver" after successful update?
[Code]....
then in my
[Code]....
I have a HyperLinkField inside a greedview.
I need to navigate to unregular url that work only in my computer:
for example: qqq:action=1?id={0}
but because it's unregular the asp ignore from it. I have in the html <a>123</a>
without the href.
how I can do that?
my code:
<asp:HyperLinkField DataNavigateUrlFields="TaskId"