Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void main(string[] args)
- {
- //first argument passed is a Url, if a second and third argument are passed,
- //then they're considered to be the user name and password to use for authentication
- String url = args[0];
- String userName = null;
- String password = null;
- try
- {
- userName = args[1];
- password = args[2];
- }
- catch(ArrayIndexOutOfBoundsException ex) { }
- Open(url, userName, password);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement