|
I'm sorry, but that's not the way Code Project works. We don't write applications for people - we're all volunteers here and we don't have time to write full apps for others. If this is a personal project, I'd take a look at doing something simpler for a start.
I will say that you are missing several key pieces of information here - how do you intend to interact with the browser? Is it going to be an add-in? Are you intending to hook into the browser instance from a service? Which browser are you intending to target? You need to answer these questions before you can even begin to code this task.
|
|
|
|
|
Right now only Firefox.
But if i can interact with all browser would be better.
I just wanna get the URL address that is HTTPS thats all.
|
|
|
|
|
Why? What are you trying to accomplish? How are you trying to run it - in the browser or out of the browser? If you're trying to run it in the browser then you can't use C# for it - Firefox runs on different platforms, so you need to write the extension in a manner that would run on multiple platforms.
|
|
|
|
|
I want to run outside the browser.
I just wanna check whether is the user access https pages.
if yes output into a txt file.
how to do it?
|
|
|
|
|
Again, I ask why do you want to do this? You still haven't clarified that.
|
|
|
|
|
My task? School project. lolx.
|
|
|
|
|
So you want somebody to help write your homework for you. Isn't that, wait I'm sure I can find a word for it, cheating?
|
|
|
|
|
No? Is finding assistance. Cos this is self.
and I am seriously out of clue.
For some personal reason. But really not the cheating as you know. ...
|
|
|
|
|
OK - you could always intercept the request stream (by default it will be running on port 443 for HTTPS). Alternatively, you could write something that hooks into Firefox and listens to the messages it's firing off - I find it hard to believe that this is an assignment though; this is quite advanced coding and not one you'd typically give to students, especially as it is in such a sensitive area as internet security.
I will say, accomplishing a task like this is normally achieved using a language like C or C++.
|
|
|
|
|
Sure, you'd have to write your own proxy server. If you have no idea what a proxy server is or how Socket communication over TCP/IP works, then you have no hope of completeing this project.
wenlong88 wrote: I am a newbie.
Of course you are. See above.
|
|
|
|
|
Pete take it easy on him
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
This is me taking it easy with him. What I was trying to do was find out what his requirements really were, and make sure that he wasn't after this for nefarious purposes.
|
|
|
|
|
Hi all,
Curently, I have a big solution (include C#, VB, C++ projects).
LOC of this solution is about 1000 KLOC.
I want to create a tool to get all information in source file as below: class, method, enum, parameter of method, all place in source code where use class or method, ...
Can you help me to find the best algorithm to get these information?
Thanks for your support.
|
|
|
|
|
Visual Studio already has a tool like that: is the Object Browser (you can show it from the View menu). IT shows a hierachical view of all the assemblies in your solution, with namespaces, classes, fields, properties, methods, etc. (if you provided XML comments for the shown items, the informations you have provided through them are shown too).
To show informations about places in source code where a class or method is used, you can right-click on the item in the Object Browser and select Find All References.
|
|
|
|
|
Thanks for your answer.
But I still want to build my own tool .
Beside, I also have a solution2 that reference to solution1 (location of them in different folder).
And this tool can be search in both solution (just give it the location, and it will return the result)
|
|
|
|
|
Have VS produce XML documentation and read that.
|
|
|
|
|
Just in case my code is fully documented with XML comments.
Beside, with XML comment, I can't find reference of classes or methods that are using somewhere in source code.
|
|
|
|
|
Hello Everybody,
I want to know that How many Compilers are used in C#.
Thanks
If you can think then I Can.
|
|
|
|
|
Do you mean how many C# compilers exist?
there is one in each version of the .NET FrameWork for Windows, it is called csc.exe
I expect there are a few others that are popular, e.g. in the Mono environment.
And there must be a couple around in research and university environments.
or do you mean how many compilers (for whatever input language) have been created using C#?
that, I don't know at all. I see no major obstacle for writing a compiler in C#, although the majority will be in C++, mainly for historical reasons.
|
|
|
|
|
Actually i want to know that how many times a program code is compiling in C#.
If you can think then I Can.
|
|
|
|
|
every build you do happen once
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
Are you referring to the two-stage C#->MSIL and MSIL->machine code compilation process?
|
|
|
|
|
Many examples explains thread safe access over a single control,like updating a text of a
button or label etc.,How to change properties of multiple controls of a Form in thread safe manner.
private Thread CheckStatusThread = null;
public delegate void CheckStatusDelegate(int Count);
public CheckStatusDelegate CheckStatusHandler;
public Form1()
{
InitializeComponent();
CheckStatusThread = new Thread(new ThreadStart(CheckStatusThreadFunc));
CheckStatusHandler = new CheckStatusDelegate(CheckPowerStatus);
}
private void Form1_Load(object sender, EventArgs e)
{
CheckStatusThread.Start();
}
public void CheckStatusThreadFunc()
{
int Cnt = 1;
while (true)
{
this.Invoke(CheckStatusHandler,new object []{Cnt});
Cnt++;
Thread.Sleep(500);
}
}
public void CheckPowerStatus(int Count)
{
int Cnt=Count;
StatusBarLabel1.Text = "Checking PowerStatus " + Cnt;
dataGridView1.Rows[2].Cells[4].Value = Cnt;
label1.Text = Convert.ToString("Cnt "+Cnt);
}
The CheckPowerStatus function change properties of 3 controls in Form1.
Do I need to use 3 delegates to update each control on 3 different functions.
Or the above code is thread safe?
|
|
|
|
|
All threading issues get referred to Luc - see his articles[^] here.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Interesting link.
|
|
|
|