How to get URL hit by browser in C# application [closed] - c#

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
Actually, my requirement is, when a user type a URL in any browser like example.com?q=123 and hit go then my C# application will verify request and fetch the value of q.
any solution for this???

You will have to hook your application to somehow track all outgoing requests over port 80 and 443

Related

i have a problem with c# winforms app and i dont know where to start [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 days ago.
Improve this question
I have a problem with my C# windows forms app.
I am building a weighting scale program, I have to connect the loadcell via (rs-232)
to the computer. i want to send the weight into a textbox without the user having to specify the ports, Baudrate...etc. I am new to C# and I don't know even where to start. can you please help?
Note: the textbox must read the weight live not by instance nor by a button click

How to reset hard application on Azure [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 days ago.
Improve this question
I have web app on Azure.
Suppose my application has entered a method that performs something. I can't get out of it.
When I close the web app on azura and turn it on, the app returns to the same point (method).
Can I somehow reset it and stop the execution of all methods?
Best regards

how to open Tor browser tab using .net c# [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I have installed the Tor browser on my PC(Window 10).
Now I want to open a link in Tor browser with C#, how can I do this?
Should be simple like opening any other browser
Process.Start("[Full Path Here] tor.exe", "http://www.YourUrl.com");

Saving a URL address NETCore [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
How can I save the website someone is accessing using NET?
The company that I work have multiple landing pages, I need to check wich one the user is accessing after he accept or not the cookie policy and save it on a postgres database.
Right now I'm using this to get the user IP and it is working fine.
historicoCookie.EnderecoIp = this.HttpContext.Connection.RemoteIpAddress.ToString();
Is there anything like that to get the URl the user is accessig?
You should be able to get it from the Request object
var requestUrl = Microsoft.AspNetCore.Http.Extensions.UriHelper.GetDisplayUrl(this.Request);

How to send/receive a HTTP request in .NET [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
How to send/receive a HTTP request (it is good to give me a link)
http://msdn.microsoft.com/en-us/library/debx8sh9.aspx
Do you know what i typed into Google?
"c# .net send web request"
And this was the first result.
The simplest option is the System.Net.WebClient class, but that isn't always powerful enough to do what you need.

Categories