473,508 Members | 2,361 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

app for management of shared directories

Hi,
I want to make an application that should be able to
- read content of a given shared directory
- delete these directories (or to unshare them)
All these stuff by using c#.
I've been searching in MSDN and I have found some useful API functions like
NetShareDel etc. So one possibility is to call NetShareDel in an unmanaged
section (as I even saw somewhere in an example).

But I'd rather use c# classes and c# capabilities. I saw there is a
System.Management.ManagementClass class that could be helpful (together with
System.Management.ManagementPath and System.Management.ConnectionOptions),
but I have no idea how to use those classes, cause there is almost no
explanation in MSDN.

Any links/suggestions/... are appreciated.
stej
Nov 16 '05 #1
0 932

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1557
by: scott_shuster | last post by:
Hi Everyone, I have a web site that is largely based in .NET technologies, but also has a fair amount of classic ASP. I'm looking for a tool to give to end users to manage content. This tool...
7
1901
by: Random | last post by:
I have created a couple of DLL's in .NET that I want to use in a couple of my web projects, that will be running on the same web server. Instead of thn using the'bin' directory, what is the...
0
770
by: Zack Sessions | last post by:
Am using VB.NET 2003. I would like to take a sharename (UNC Path) that may or may not be on the local machine, and determine the local path of the share. I know there is some way it can be done...
0
1410
by: Tham Paudel | last post by:
Hallo! I have a big problem, I am under time pressure to finish my project. can anybody please help me? I am developing a DB System associated with a File server. The DB Server should manage...
2
1883
by: webguynow | last post by:
As I am using a shared host, and found out they have some Pear Pkgs but not Smarty, I went to install Pear locally in my area. I was under the assumption that I should install this Pear dir...
0
1293
by: Serdar KALAYCI | last post by:
I'm planning to apply Role Management feature to my new web site but I have some doubts which I thought you can help. The membership/role management system works like a charm on development...
9
3519
by: Dwight | last post by:
I have several projects that use the same dlls. When deploying these projects, is there a way that I can have all the shared dlls in one subdirectory and the project specific files in another? ...
6
3110
by: JM | last post by:
I have never used a (content management system) CMS before but I need one for my internship as a webdeveloper. Requirements: runs on Apache, linux or unix, MySQL and PHP (maybe Windows server...
5
475
by: David T. Ashley | last post by:
I've occasionally had trouble compiling and linking programs that use shared libraries. That never made a lot of sense to me, because I thought the operating system went hunting for the symbols...
0
7223
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7321
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7377
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7036
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
4705
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1547
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
414
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.