Web Forms :: Capture Ip Address Using C#?
Jan 12, 2010Does any one know how to capture ip address using c# and when a person hits a button on my webpage
View 14 RepliesDoes any one know how to capture ip address using c# and when a person hits a button on my webpage
View 14 RepliesHow could I get the url from the address bar. Im using c# for this. for example: if I type [URL]in my address bar, then i would get "[URL]" caption.
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 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 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?
how do I grab an email address from a web form and email to that email address with the link to a webform?
View 5 RepliesWould anyone know how to capture the complete website URL?
I tried using this:
string strRawUrlText = Request.RawUrl;
but, this only gives me "/login.aspx", instead of the "www.sitename.comlogin.aspx".
what's the easiest way to capture a web cam image in ASP.net?
(I'm a visual kind of person - any examples or references)
i want to integrate video capturing option in my website for intrview pupose.
View 1 RepliesI am developing project using asp.net 2.0 and C#.net.I want to capture users picture or video from webcam and save it in a folder in Harddisk. how to develop this feature and if possible provide me reference links.
View 4 Replieshow to capture the live video from a dvr device to a webpage?I have been searching and googling for a week and found nothing.
View 2 RepliesI have an asp.net web application that sits in a page viewer web part in sharepoint 2003. What I would like to do is capture the querystring from the browser url (sharepoint url path) and not the application path.
View 1 RepliesI need to offer a way for a client to send me XML (list of contacts). I'd like to do this using HTTP post. The page needs to capture that XML and place the data into my database (FirstName, LastName, Address...).
View 1 RepliesHow to capture image from a webcam and show it in the webpage using asp.net.
View 1 RepliesHow to capture images from webcam and store in database in asp.net
View 1 RepliesI am creating a website similar to youtube, so after uploading videos (that will be in .flv format), a thumbnail has to be captured from that corresponding video.. here i am designing my page using asp.net & c#...
I have got some code from the net, but its working only videos of size 2-3Mb.... how to get my code to work my code for large sized files..
here's my code..
my code in default page(default.aspx.cs)..
its in page load method....
protected void Page_Load(object sender, EventArgs e) {
Class1.GrabSingle_Thumb();
}
code of my class file(class1.cs)...
using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
[CODE]....
I have got these code from [URL]...
I have two more links, which may be useful, but as a starter in .net, I am not that capable of understanding that code in the page...
[URL]...
[URL]...
i was wondering if i could capture transaction time automatically. e.g. if form has a grid submit button and user clicks submit button to submit changes on a grid to database, is there a way to capture start time when user clicked the button and reply user got back from page?
View 3 RepliesI have controls and some has AutoPostBack set to true.
i.e
<asp:CheckBoxList ID="cblTest" runat="server" AutoPostBack="true"
OnSelectedIndexChanged="cblTest_SelectedIndexChanged" >
</asp:CheckBoxList>
How can I capture which control has triggered the autopostback event when it runs again in the Page_Load method.
During pageload i would like capture, which event is raised and its ID .e.g button click event , textbox value change event. I have tried by using the below code in page load but always iam getting only balnk value.
Dim lsTarget As String
lsTarget = Request.Form("__EVENTTARGET").ToString
lsTarget = Request.Form("__EVENTARGS")
I added the button attribute on page load.
[Code]....
What I want to do is if the OK button is clicked, save the data and then open the grid. If the Cancel button is clicked, open the grid. The problem is when I clicked the Cancel button, it didn't do anything in the OpenGridButton_Click event.
I am working on a web application that works very similar to YouTube where a user can upload a movie clip so that others can see.
1- to capture an imgae for the clip at the time of being uploaded to site so that I can use the image in the playlist.
2- best to create the playlist?
I have a simple aspx page which display the google map when the user enters the address.
When the user click Next, I want to capture the displayed map and email to me.
How can I capture this google map image?
aspx:
<div
id="map"
style="width: 500px; height: 300px"></div>
<asp:Button
ID="btnNext"
runat="server"
Text="Next"
OnClick="btnNextClicked"/>
i am thinking to capture which button has caused a postback in the web pages.
Is it possible to do so?
Is it possible to Capture images using webcam and storing them into desktop in web application....
View 1 Replies