Click here to Skip to main content
16,010,416 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
I have an application that scans directories on my computer and displays its contents. From my computer I want to view the contents of another PC (Name: Remote1: 192.168.1.100) on my local network, what mechanism should be used: should implement a client-server FTP (because I also try to send content to the remote PC: Remote1) , WCF or other mechanism? please help


What I have tried:

screenshot of reference:

http://i.stack.imgur.com/aqSbb.jpg
Posted
Updated 20-Aug-16 17:58pm

1 solution

have you thought about using a mapped network drive from your (program) machine to the 'remote' machine ?

- on the remote machine you 'share' the topmost level of drive/folder you wish to make available (please dont expose c:\windows, c:\program files ie anything that needs to remain private/secure etc, have a separate drive/folder for 'content'
- preferably create a separate account and give it required permissions to only that share
- then use either a unc path from the 'client'/'program' machine or map a drive

this is also good at helping to connect to shares on other machines and disconnecting the share when you're done with it C# Map Network Drive (API)[^]

Im taking you at your word of course both machines are on the same network, ie, have addresses 192.168.1.x - else it may get more difficult
 
Share this answer
 
v2

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