【文件属性】:
文件名称:C#如何访问共享文件夹或者磁盘
文件大小:32KB
文件格式:PDF
更新时间:2021-01-20 07:05:05
c# string system
本文实例为大家分享了C#访问共享文件夹或者磁盘的具体代码,供大家参考,具体内容如下
SharedTool:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
namespace ConsoleApplication5
{
public class SharedTool : IDisposable
{
// obtains user token
[DllImport(