我已经尝试过了,但它给了我一个错误:
“不支持给定路径的格式”。
private void btnVerify_Click(object sender, EventArgs e)
{
int counter = 0;
string email = textVarify.Text;
string line="";
System.IO.StreamReader file = new System.IO.StreamReader("https://dl.dropboxusercontent.com/u/9013501/bots/lic.txt");
while ((line = file.ReadLine()) != null)
{
if (line.Contains(textVarify.Text))
{
DevComponents.DotNetBar.MessageBoxEx.Show("Email",textVarify.Text+" Found");
}
counter++;
}
file.Close();
}
这有什么问题?