C# 网络 API [英] C# Networking API's

查看:31
本文介绍了C# 网络 API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近我一直在寻找一个很好的网络 API,我可能会使用和/或引用其中的一些代码,但我只是幸运地在 Google/Bing 上搜索了一些.希望这里有人已经看到和/或使用了一个有用的 C# 网络 API.

Lately I've been looking for a good networking API i could possibly use and/or reference some of the code within, but i have mere luck searching for some on Google/Bing. Hopefully somebody here has seen and/or used a helpful networking API for C#.

提前致谢.

推荐答案

我强烈建议您查看 Windows 通信基础.它附带任何版本的 .NET 3.0 或更高版本,因此如果您使用的是 VS 2008,那么您就拥有所需的一切.

I highly suggest you look into the Windows Communication Foundation. It comes with any version of .NET 3.0 or greater, so if you're using VS 2008, you've got all you need.

它抽象了大量的网络细节,为您提供了一个非常简单的编程 API.甚至协议细节也被抽象掉了,并且有大量的协议可供选择.

It abstracts a heck of a lot of the details for networking, providing you with a very simple programming API. Even protocol details are abstracted away, and there are a ton of protocols to chose from already built in.

传授通过网络进行通信的最佳方式.

Hands down the best way to communicate across a network.

这篇关于C# 网络 API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆