How to connect to another system on the same network given it’s IP address using c# ?

This is the problem that I have at hand:

There is a Virtual Machine on the same network that I am on(at work). I have the IP address of this system and if needed I can get credentials to access this system.

I need to connect to this system from my system and then run some code on files on the virtual machine that I have connected to.

How do I connect to this Virtual machine ? I'm not sure what to search for. I've tried googling it a lot, but I haven't gotten much.

What protocol should I use to connect to this system(on the same network) ? Should I use tcp/ip, rdp ? Is there any particular class for this ?

Any help would be appreciated.

by spdcbr via /r/csharp

Leave a Reply