Solved

VNC *SERVER* Source Code in C#

Posted on 2011-03-04
12
4,105 Views
Last Modified: 2013-11-30
I would like to know if i can find some source code for VNC SERVER, written in C#.

Does anyone got a link for that?

I've found many VNC Viewer sources, but only few Servers.  Those i've found were written in C++.

IMPORTANT: Do not answer if you are not sure that the link you are providing contain source code for the specific language i've requested, or if it's a viewer only.
0
Comment
Question by:cdebel
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 5
12 Comments
 
LVL 3

Expert Comment

by:pasolo
ID: 35037944
I had downloaded it weeks ago, the link is:
http://dotnetvnc.sourceforge.net/

PS: It works very well
0
 
LVL 3

Expert Comment

by:pasolo
ID: 35037947
Sorry, you want a server:(
0
 
LVL 3

Expert Comment

by:pasolo
ID: 35038047
Probably has never been done. Performance is expected to be too bad. GDI++ os not know for speed and trying to fast bitblt with PInvoke looks impossible. But would be a nice try:)
0
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 
LVL 10

Author Comment

by:cdebel
ID: 35038785
Yes, i want a SERVER.

I don't want to be rude, but how the hell did you missed that?
It's in the subject, in CAPITAL letters
It's in the body of my request, in BOLD / ITALIC / UNDERLINE
I've added an IMPORTANT note in BOLD to make sure that no one would come up with a stupid answer that doesn't match my question.

You know very much that no one else will answer since they will see "4 comments" on my question.  I'm going to have to post & delete questions, again and again until i get an answer.
0
 
LVL 10

Author Comment

by:cdebel
ID: 35038820
if any king pin can help me here, i would really appreciate... TheLearnedOne, carl, kaufmed, tgerbert, etc...
0
 
LVL 3

Expert Comment

by:pasolo
ID: 35038841
Then do it yourself in BOLD and CAPITAL letters.
0
 
LVL 10

Author Comment

by:cdebel
ID: 35047037
Ok.  Sorry for what i said, but i've got 2 consecutive failure like this and i got really mad.  I've got to repost the questions and it pissed me off.

You are probably right about it: it probably never been done.  I already had that guess because i've googled for a while before posting this question, and i've found nothing.  This is why i posted here to see if i just didn't missed something.

Is there any site who have done some extensive tests to see how slow it perform on specific Pinvoke?

The only way to reduce the number of Pinvoke would be to do some test with the size of the blocks that you check & copy.  Bigger are the "squares", less we have pinvoke... but it has some drawback on the bandwidth.
0
 
LVL 3

Accepted Solution

by:
pasolo earned 500 total points
ID: 35047092
lol. Some people made a VNC server in Java and others in VB 6. I don't think anyone need those because performance counts and neither .Net nor the others are good choices for performance. VNC is already slow, particularly since they started using c++ with all those classes.
0
 
LVL 10

Author Comment

by:cdebel
ID: 35069473
Well, i'll perform some test before i start the development of what we got to do.

I thought that it would be nice to use .NET since there's compression & encryption.

I'll perform different commands 100 000 times if necessary, to see how it perform in C++ vs C#.
0
 
LVL 3

Expert Comment

by:pasolo
ID: 35071087
ok. the important is the fun it will provide
0
 
LVL 10

Author Closing Comment

by:cdebel
ID: 35074611
I'll give a B because in the question i've specified "server".

But i give the points because pasolo explained a performance issue with the pinvoke.

There's also some other things that we might have to consider if we want to develop a VNC like application.  Global System Hooks doesn't seems to be done in 100% managed app.   I've seen some hook coded with a mix of C++ (unmanaged) and C# (managed).
0
 
LVL 3

Expert Comment

by:pasolo
ID: 35079811
Hooks do not provide much of a boost and in Windows Vista or 7 you will not be able to hook windows with higher privilege level.
Thank you for the points
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

At the beginning of the year, the IT world was taken hostage by the shareholders of LogMeIn. Their free product, which had been free for ten years, all of the sudden became a "pay" product. Now, I am the first person who will say that software maker…
Like many organizations, your foray into cloud computing may have started with an ancillary or security service, like email spam and virus protection. For some, the first or second step into the cloud was moving email off-premise. For others, a clou…
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question