Menu
  • HOME
  • TAGS

C# RDP application with STUN

c#,rdp,stun

Here is a c# implementation: http://www.codeproject.com/Articles/18492/STUN-Client Example usage: // Create new socket for STUN client. Socket socket = new Socket (AddressFamily.InterNetwork,SocketType.Dgram,ProtocolType.Udp); socket.Bind(new IPEndPoint(IPAddress.Any,0)); // Query STUN server STUN_Result result = STUN_Client.Query("stunserver.org",3478,socket); if(result.NetType != STUN_NetType.UdpBlocked){ // UDP blocked or !!!! bad STUN server } else{ IPEndPoint publicEP = result.PublicEndPoint; // Do...

RDP (Remote Desktop Connection) Breaking Website Formatting [closed]

css,wordpress,rdp

The only way I was able to reproduce the issue was to set the "Document mode" and "User agent string" to IE 7. Press F12 and scroll down to "Emulation mode" and ensure that your IE is set to Edge. ...

Window Services start-stop permission to Remote Desktop users

windows-services,rdp

Step 1 – Create the Console We need to open a hidden console snap-in 1. Click Start > Run (or press WIN + R) and type “mmc.exe” 2. This opens an empty Microsoft Management Console. Click File > Add/Remove Snap-in… (Ctrl+ M) 3. Scroll down the list of available Snap-ins...

How can I detect if Office is licensed with a volume license key?

ms-office,rdp,terminal-services,office-automation

Take a look at the How to check the activation type and status of Office 2010 installations article. You can parse the output text and detect the type of activation key.

How to know the version of rdesktop on Ubuntu machine [closed]

ubuntu,rdp

Try: $ rdesktop 2>&1| grep Version or $ apt-cache showpkg rdesktop I hope this can help you!...

Ctrl-Alt-Del doens't work in logon on VirtualBox Windows 2003 server guest by RDP

virtualbox,rdp,winlogon

Well i found a realy nice solution. If you quickly press 5 times left shift StickyKeys will appear, then press OK and StickyKey will activate. Then you press the Ctrl Alt Del sequencially, not at the same time.

SENDINPUT doesn't send keystroke to RDP

c#,rdp,virtual-keyboard

Set the scancode, RDP or ICA sessions - requires KEYBDINPUT.Scan to be non-zero. Use MapVirtualKey to get it

Copying an image from the internet and pasting it results in a CID attachment style image

virtual-machine,email-attachments,rdp

After talking with some people that I know personally, it seems that when you copy an image on a RDP session, it actually copies the bitmap of that image, instead of the link(for a browser image).

Issuing SSL certificate for remote desktop without FQDN

ssl,ssl-certificate,windows-server-2008-r2,remote-desktop,rdp

Here are the facts: 1- You need a fully qualified domain name to request a certificate. 2- You don't have to bind the domain to the server in case you don't want to. 3- After installing the certificate, if the server address is not the same as the domain associated...

Vb.net kill process

vb.net,rdp,kill-process,terminal-services

Create an application that does the following: Enumerate all RDP sessions and find out which are disconnected. Enumerate all processes and find out which (a) belong to your target app and (b) belong to a disconnected session. Kindly ask the app to close itself. Use task scheduler to run this...

Bitmap.FromHbitmap erroring when called over RDP

c#,.net,winapi,rdp

I think that this is due your RDP color depth. If your cursor is black and white only (via RDP), you will not get hbmColor value as this parameter is optional. MSDN says: hbmColor Type: HBITMAP Description: A handle to the icon color bitmap. This member can be optional if...

AltGr key not working, instead i have to use Ctrl+AltGr [closed]

windows,keyboard-shortcuts,rdp

I found a solution for my problem while writing my question ! Going into my remote session i tries two key combinations, and it solved the problem on my Desktop : Alt+Enter and Ctrl+Enter (i don't know which one solved the problem though) I tried to reproduce the problem, but...

Send Special Keys Over Remote Desktop

c#,rdp,sendinput

Finally I am able to send most of the special keys to remote machine by using following code. The only issue is that special keys remain pressed after the operation is completed. please let me know how to release the special keys. class Program { static void Main(string[] args) {...