How to create a shared folder on a remote Windows machine using C #?

I want to manage shared folders on a remote machine from a C # application. Is there a way to do this using C #?

I know that WMI can perform remote management, but I have not found a way to manage file and folder sharing.

+4
source share
1 answer

The Win32_Share WMI class can be used to manage shared resources, including folders. The MSDN documentation page contains sample code for creating a share (see Radjin Sardjoe Missier Example on this page).

+5
source

Source: https://habr.com/ru/post/1391250/


All Articles