Hello Everyone... Could someone please help me with a code?
I have this problem.. I am making a LOGIN generator and I need to make it so both two texboxes send the info to my Email Or FTP server (Email is better please)
------------------------
Ex:
Username: name
Password: *****
Then when the person clicks ok it will send to my email or FTP server (Email more needed).
If you could help it would be greatly appreciated and I could put u in the Staff tab on the program
P.S It is being made with Windows C#. The Type is --> (Windows Form application)
Thanks,
bdude105
Loading
Bechir BejaouiPosted Feb 17, 2009, 7:18 PM
public class MyProxy : System.Net.IWebProxy
{
public string User { get; set; }
public string Password { get; set; }
private System.Net.ICredentials _NetWorkCredential;
public MyProxy(string User, string Password)
{
this.User = User;
this.Password = Password;
_NetWorkCredential = new System.Net.NetworkCredential(User, Password);
}
public System.Net.ICredentials Credentials
{
get { return _NetWorkCredential; }
set { _NetWorkCredential = value; }
}
public Uri GetProxy(Uri destination)
{
return new Uri(destination.AbsoluteUri);
}
public bool IsBypassed(Uri host)
{
return false;
}
}