English 中文(简体)
如何用网站参数的用户名和密码打开网站浏览器?
原标题:How to open web explorer with user name and password of a website arguments?

Guys I am making c# window application and I want to open any explorer (IE, FireFox, Chrome etc), 我想在网站上打开任何探索者(IE, FireFox, Chrome etc), 网站显示登录页面, 请我输入我的用户名和密码 。

我这样做。

Process p =new Process();
ProcessStartInfo Sinfo=new ProcessStartInfo();
Sinfo.FileName="chrome.exe" //  or Sinfo.Filename="IExplorer.exe";
Sinfo.agruments="www.mail.yahoo.com";
p.startinfo=Sinfo;
p.start();

如何将我的电子邮件/用户名和密码发送到特定网站 以便自动登录?

最佳回答

在查询字符串中传递用户名和密码只有在目标网站被编程以接受查询字符串中的这些值时才有效。

例如:"http://drupal.org/node/952894" rel="no follow">link

问题回答

即使你正在张贴, 目前大多数网站都有所谓的跨站点请求伪造(CSRF)保护(CSRF), 禁止某人在别处张贴表格,





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签