简体   繁体   English

XNA - 在Windows代理中使用System.Net

[英]XNA - Using System.Net in a Windows Proxy

I want to take a separate Stackoverflow post a step further. 我想进一步单独的Stackoverflow帖子 In that post, it mentions that Windows versions of an XNA application can use the System.Net namespace and all its awesomeness for creating web requests. 在该帖子中,它提到Windows版本的XNA应用程序可以使用System.Net命名空间及其创建Web请求的所有功能。 I also know that XNA applications (Windows and Xbox) can talk over the local network, sending packets back and forth. 我也知道XNA应用程序(Windows和Xbox)可以通过本地网络进行通信,来回发送数据包。

I'm curious if I could have one assembly on my Windows machine that uses System.Net, and another assembly on my Xbox that talks to the Windows machine, and I could turn my Windows PC into a web proxy. 我很好奇我是否可以在我的Windows机器上使用System.Net上的一个程序集,以及我的Xbox上与Windows机器通信的另一个程序集,我可以将我的Windows PC变成Web代理。 I could then write a web browser, for instance, on my Xbox. 然后,我可以在我的Xbox上编写一个Web浏览器。

Internet <> Windows XNA Game using System.Net <> Xbox XNA Game Consumer 使用System.Net <> Xbox XNA Game Consumer的Internet <> Windows XNA游戏

I have read that for a Windows application to talk to an Xbox application locally, the two need to have the same assembly GUID, which I can easily account for. 我已经读过,对于Windows应用程序在本地与Xbox应用程序通信,两者需要具有相同的程序集GUID,我可以轻松解释。 However, I can't find out if the two assemblies have to be identical. 但是,我无法确定两个组件是否必须相同。 And that's why I've come to Stackoverflow. 这就是我来Stackoverflow的原因。

Can two different assemblies with the same assembly GUID talk to each other over a local network? 具有相同装配GUID的两个不同装配可以通过本地网络相互通信吗?

It looks like someone already did it here . 看起来有人已经在这里做过 The notable information is that if you ever published it, it wouldn't work anymore. 值得注意的信息是,如果您发布它,它将不再起作用。 But for your own use, yes it seems very possible to use SystemLink and a Proxy version of your "game" on your Windows machine. 但是为了您自己的使用,是的,似乎很有可能在您的Windows机器上使用SystemLink和您的“游戏”的代理版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM