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.
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).
Source: https://habr.com/ru/post/1391250/More articles:Is there a library for the SECS / GEM protocol? - delphiHow to create mysql query result according to conditions of a condition? - sqlHow to protect database credentials in an .yml database - securityA process cannot access the file because it is being used by another process in Directory.Move () - c #Why is Apple special about these applications? - iosH2 - Alternative to Rank () and Row_Num () - sqlMaintaining the scroll position and selected control in reverse gear - c #Specifying a date in a tag generated by the maven-release plugin - javaSQL with rank and section - javaASP.NET MVC3 and Entity Framework - One-to-Many Relationships in One View - c #All Articles