Click here to Skip to main content
15,889,867 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I’m currently taking a C# programming language in our OOP course in my college. I was hoping to develop the following projects to hone my skills. The first one is an app that lets other apps connect directly through proxy. That is, there are some apps that don’t work with a proxy network (like paltalk messenger, Viber for desktop). So the app I intend to develop will connect to the proxy network and let this app (directly) access the internet through it. The second app is a clipboard recorder. This app basically puts the last ten or five files that has been copied in a temporary location. This avoids the problem of coping a file without pasting it and then coping another file and being unable to paste the previously copied file. I’m new to C# but not programming, I’ve experience in Java, C and Python. So here are my questions: First is it possible to implement this programs in C#? What possible challenge I’m going to face developing these apps? And at last what areas do you recommend me to read to develop the apps?
Thanks in advance.
Posted

The proxy-server "challenge" you describe involves low-level system facility manipulations of the type that device drivers must implement; these are not projects of the type you want to take on in a high-level language like C#.

A clipboard monitor, however, might be possible; see: [^].
 
Share this answer
 
Comments
avidProgrammer 24-Dec-14 15:04pm    
Thank you for your answer.Now,I have an idea of what I'm trying to achieve.And just wondering, is it possible to implement an Automator program like the one you find in OSX using C#?
This approach is counter-productive. Why thinking about "challenged" at all?

You challenge the problem, don't expect that some problems challenges you. After all, aren't you looking for excuses for some failures before you even start? I hope not. So, just wait until something or somebody challenges you, and only then ask your questions. Be braver, maybe…

—SA
 
Share this answer
 
Comments
avidProgrammer 21-Dec-14 15:01pm    
Sergey Alexandrovich, Thanks for answering.I'm not looking for excuses before starting.I was looking for a bit "guidance" and if someone else has previously done it, may be I would learn something from the challenges they faced.And also I am not sure if it is possible to do the apps with C#.
Sergey Alexandrovich Kryukov 21-Dec-14 15:14pm    
Okay, you don't look for excuses. That's why I wrote "I hope not".

You see, the challenge for person A may be not a challenge at all for person B, who might not even see the problem. Moreover, some challenge to B might not be a challenge to A. And we have no idea who are you. At the same time, taking challenges as they appear is not a bad strategy. :-)

Wish you the best of luck.

—SA
Maciej Los 22-Dec-14 13:53pm    
+5
Sergey Alexandrovich Kryukov 22-Dec-14 14:04pm    
Thank you, Maciej.
—SA
Quote:
So the app I intend to develop will connect to the proxy network and let this app (directly) access the internet through it.


You what that app is?? A PROXY SERVER!!

Quote:
This app basically puts the last ten or five files that has been copied in a temporary location


The clipboard can be used for many other things, not just files. Also, a file, who you described, doesn't get put on the clipboard. The path of a file might be there, but not the file itself. You're going to have to go into much greater detail defining what this app is going to do before you even start this.

I NEVER copy a file to the clipboard and then paste it somewhere else. I always drag and drop it/them. This operation never involves the clipboard.
 
Share this answer
 
Comments
avidProgrammer 21-Dec-14 14:21pm    
Dave Kreskowiak. "You what that app is?? A PROXY SERVER!!" Can you elaborate this statement more? In campus I study, we connect to the internet through a proxy.As I mentioned, some apps don't work in this situation.So I wanted to solve this problem
Dave Kreskowiak 21-Dec-14 15:01pm    
You can't solve this problem. The proxy server is there to prevent direct access to the internet. This gives the network admins control over the connection to the ISP and the traffic that goes over it.

You solve this problem with a router and a route around the proxy.

You dont have a C# solution to this problem.
avidProgrammer 21-Dec-14 15:30pm    
The software I want to work on is much like Proxifier. Isn't it possible to do that in C#?
Dave Kreskowiak 21-Dec-14 18:05pm    
Proxifier is a network driver that kind of implements a network on one side of the driver and a proxy server on the other.

You're NOT writing this in C#, or any other managed language for that matter.

If you want to try to write this, you better be up to speed on your driver writing skills, kernel-level debugging, and have a deep understanding of the Windows networking stack and how drivers show behave at each level in the stack.
Maciej Los 22-Dec-14 13:53pm    
+5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900