如何将注销命令发送到网站 [英] How can i send logout command to a website

查看:109
本文介绍了如何将注销命令发送到网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用 WebBrowser.Navigate WebBrowser.Navigate [^ ].

我已经登录该网页并进行了工作.如果网络浏览器关闭,我想将注销"命令发送到网页.

我正在使用表单来执行此操作.

在关闭表单时,我想从代码向该特定网站发送注销命令.

我该怎么做?

I have navigated to a web page using WebBrowser.Navigate[^].

I have logged into that webpage and worked on it. If the webbrowser got closed i want to send Logout command to the webpage.

I am using a Form for doing this.

At the time of closing the form i want to send logout command to that perticular website from the code.

How can i do this?

推荐答案

我认为Web浏览器在表单上.您可以处理表单的关闭事件并发送注销命令.
I assume the webbrowser is on a form. You can handle the form''s closing event and send logout command.


这篇关于如何将注销命令发送到网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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