Password in forms - help!

  • Thread starter Thread starter Gekotec
  • Start date Start date
G

Gekotec

how can i make a form that allows the user to enter a username and
password to connect to a different application or website. i know that
linking buttons to apps or websites is this:

System.Diagnostics.Process.Start(@"C:\My folder\appname.exe");

but how can i create a form that requires the username to enter a
specific username of password so they can be linked to a different
application or web address.
 
Gekotec,

You are asking for two different things.

If you want to have a different user for the purposes of running another
app in another process, then you can call the Start method on the Process
class, passing the username and password to the user account you want the
process to be run under.

For a website though, you will have to figure out how to authenticate
against it. Websites can be authenticated through basic authentication,
through forms, etc, etc.

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top