Thursday, August 6, 2009

Rpc dll file

//Dll//
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO ;
using System.Diagnostics;
namespace dll1
{
public class Class1:MarshalByRefObject
{
public DriveInfo[] get()
{
DriveInfo[] drv = DriveInfo.GetDrives();
return drv;
}
public void str(string msg)
{
Process.Start(msg);
}
}
}

No comments:

Post a Comment