该方案通过对移动IP注册消息的认证,避免了针对注册过程的假冒攻击和重发攻击。
By using authentication, this solution avoids the counterfeit attack and replay attack directed against the Mobile IP register process.
但是,也可以将后台线程作为STA创建,然后为该线程注册消息筛选器以处理此情况。
However, you can also create the background thread as STA and then register a message filter for that thread to handle this case.
则将需要在实例一中发送消息之前注册当前进程(请参见清单6)。
You will need to register the current process before sending the message in instance one (see Listing 6).
应用推荐