我只知道是用这个API但不清楚怎么用:
[System.Runtime.InteropServices.DllImport("SVRAPI", EntryPoint="NetShareAdd")]
public static extern long NetShareAdd95(string servername, int level, long buf, int cbBuffer);
[System.Runtime.InteropServices.DllImport("SVRAPI", EntryPoint="NetShareAdd")]
public static extern long NetShareAdd95(string servername, int level, long buf, int cbBuffer);
解决方案 »
- C# 界面问题
- 如何用linq查询出两个表得内容,然后返回给数据源控件,绑定到GridView控件上。
- 求解一句!
- INSERT 语句与 COLUMN FOREIGN KEY 约束 'FK_NewsInfo_NewsTypeInfo' 冲突。
- [讨论]关于值类型装箱后的迷惑
- 请教高手:在.Net中如何使用Timer控件?
- 困惑:GET 和SET 的优点和作用何在?
- 在SQL2005中附加SQL2000中的数据库时,关系图导不进!总是提示数据库所有者出出问题!请高人帮忙!!
- datagrid能不能一行显示两条记录呀???
- 征求大家的意见,现在有一需求如下: 给一份值班安排的表定期发送EMail,
- 没有主窗口的应用程序
- 求救关于批量上传文件 (asp.net c# 分不够 可以再给)
[System.Runtime.InteropServices.DllImport("svrapi", EntryPoint="NetShareAdd")]
public static extern long NetShareAdd50(string lpzServerName, long nShareLevel, object ShareInfo, long nBufferSize);
CSDN小助手是一款脱离浏览器也可以访问Csdn论坛的软件
界面:http://blog.csdn.net/Qqwwee_Com/archive/2005/11/05/523395.aspx
下载:http://szlawbook.com/csdnv2