且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使用c#编码访问一台计算机的端口到另一台计算机

更新时间:2022-12-23 21:41:03





首先,我建议你阅读WCF 它可以为您提供关于SOA和Client / Server新技术的非常好的意见logies ;-)



如果你想了解套接字编程,请看这里:

运行Winsock客户端和服务器代码示例

客户端服务器通信 [ ^ ]



这是一个简单的客户端/服务器程序,它可以是对你真的很有用:

聊天客户端服务器 [ ^ ]



和访问RegEdit你可以使用shell命令和许多其他解决方案相同的Microsoft.Win32,只需尝试谷歌或查看这些链接;-)



使用C#从注册表中读取,写入和删除 [ ^ ]

在注册表中创建密钥(Visual C#) b $ b

***的问候。
Hi

First at all I suggest to you read about WCF it can gave you a really good opinion about SOA and Client/Server new technologies ;-)

If you want know about socket programming look at here:
Running the Winsock Client and Server Code Sample
Client Server Communication[^]

This is a simple client/server program it can be really useful for you:
Chat Client Server[^]

and for access RegEdit you can use shell commands and many other solutions same as Microsoft.Win32, just try it google or look at these links ;-)

Read, write and delete from registry with C#[^]
Create a Key In the Registry (Visual C#)

Best Regards.