开发者

reading remote PC disk capacities via .NET framework

I'm planning on writing a small program that uses the .NET framework to read disk capacities on remote Windows PCs.

I norm开发者_高级运维ally write in C#, so I'd like to stick with this. A number of us in our department need access to this program.

Should I write this as:

  • a desktop app
  • an MMC snap-in
  • an ASP.NET application with a service?

Any suggestions? Many thanks.


A different idea, what about a PowerShell cmdlet with WMI?


A service with WCF comes into my mind. Thus, a central application could query the service on each remote windows PC to get the information.

If these PC's already publish their disc capacities in some form (eg. via windows shares or something else), you could omit the service part and directly query the machines.


WMI already publishes this information. So all you need is a client. Depending on the needs of your users, it could be a WinForms app, an MMC SnapIn, a console app, etc etc.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜