DCSIMG
C# - Guy

Guy

Blog about .Net, architechture and Oracle

Browse by Tags

All Tags » C# (RSS)
How to find an available port in C#
How to find an available port in C# As i discussed in my post Development considerations taken when installing client application on a terminal server , there will be times you will have to find an available port yourself, without relying on WCF to do that for you. This can be achieved by locating all ports currently used in your machine and returning the first port number that is not being used. The machine in question can hold open ports in different communication protocols and states(learn more...
Using terminal services API to determine if the application is being run remotely
Using terminal services API to determine if the application is being run remotely Imagine you have a client application that may be executed remotely or locally at the user’s computer. For most times, you will need to know whether the instance of the application is being run directly on a user’s desktop or from a remote client machine. You will need to be aware of this for several reasons, some of them were mentioned in my previous post Development considerations taken when installing client application...
Development considerations taken when installing client application on a terminal server
Development considerations taken when installing client application on a terminal server Installing client applications on terminal server has become more and more common for a few years now. It holds many benefits including: Cutting down hardware costs (less hardware needed). Only one installation is needed for numerous clients (the number of clients that can run on a terminal server is subject to the client’s resources consumption). Better application maintenance. and many more… When installing...